You can stay in the UK for 5 years with 'leave to remain' and apply for settlement or further leave when it expires. If you can't return to another country due to persecution, claim asylum first and apply online.