We are unable to give immigration advice, as under UK immigration law, organisations can only provide this if they are registered with the Office of the Immigration Services Commissioner (OISC). Details of organisations regulated by the OISC can be found here using their Adviser Finder.
A comprehensive guide to deportation as a result of a criminal conviction can be found on the website of the charity, Unlock*. The information is applicable across the whole of the UK.
*Unlock is a charity based in England and Wales. Although much of the information on their website is applicable UK wide, some does not apply to Scotland.
They also provide a free helpline. However, if you do contact their helpline, it is important that you tell them that you live in Scotland, because many of the laws are different.
Signposting
The following organisations offer support on this topic.