That is far too broad a question to deal with in one thread. Can you give us one or two examples of sentences in which you are not sure about which of the two to use?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.