United Kingdom - Info - Residence in the UK
You are resident in the UK. Whatever your UK immigration status, there should be a way for you to naturalise in the UK as a British citizen after a further period of residency.
PERMANENT RESIDENCY
If you hold a form of Permanent Residency (Indefinite Leave to Remain, Right of Abode, EU Settled Status and some Diplomatic statuses), then the next step is normally to naturalise as a British citizen. If you are married to a British citizen, then this can take place immediately. If not, then you would normally have to spend at least 12 months as a permanent resident before naturalising.
QUALIFYING VISA
Examples of a "qualifying visa" would be the EU Pre-Settled status, the UK Ancestry Visa, a Spouse Visa, Skilled Person Visa or Work Permit. If you spend at least 5 years in the UK on one of these visa categories, then you should become eligible for permanent residency.
NON-QUALIFYING VISA
Examples of a "non-qualifying visa" would be a Tourist Visa, Study Visa or the Tier 5 Working Holiday Visa. Time spent in the UK on one of these visa categories does not normally lead to permanent residency unless you spend at least 10 years of continuous residence on a valid visa.
ILLEGAL OR UNLAWFUL RESIDENCE
Examples of this immigration status would be an asylum seeker, or someone who has overstayed their visa in the UK. It is essential that such a person seeks professional assistance in normalising their UK immigration status. If a person spends at least 20 years in the UK (whatever their visa status), then it may be possible to obtain permanent residency or to naturalise as a British citizen.