If you are married to a UK citizen, you may be able to obtain a marriage visa through your spouse which would enable you to enter, or leave to remain in the UK with no time limit or the need to apply for a work permit.