understanding S_N_2 and S_N_1 reactions along with elimination and substitution

I need help understanding S_N_2 and S_N_1 reactions along with elimination and substitution reactions. I understand it with very simple examples in the book I am using for my online class but when it comes time to do homework or an exam I have absolutely no idea what I am doing.