On is used for
surfaces,
public transport, and
roads/streets.
(on the table/ the bus/ Baker street)
In is used for general places, cities/countries, things inside an area/space.
(In the city/ France/ Jail)
At is used for specific locations or particular places.
(At home/ school/ 2 Apple Crumble Road)