There are different ways to apply for indefinite leave to remain (settle in the UK) - check if you're eligible
https://www.gov.uk/indefinite-leave-to-remain