A preposition links a noun, pronoun or noun phrase to some part of the sentence. Prepositions are always difficult to learn therefore you should practise using the prepositions with the correct phrases or nouns.
Here are few examples of on, at, or in:
On
On – to show a surface of something
I put my phone on the table.
Don’t leave any important papers on your desk.