You are asking unanswerable questions of 'why' if you are talking about prepositions. It just takes attention and practice. Always feel free to ask about specifics here.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
jonchantHow do I know when to use in or on when talking about locations?Only by following the common practice of native speakers. You can learn this by doing a lot of reading, observing carefully as you read.