This advice applies to Scotland:
Advice can vary depending on where you live.
Advice for other parts of the UK:
The rules about who can come from other countries to live in the UK are very complicated.
Here we describe the basic immigration rules and where to go for more help.