when do you use affect and when do you use effect?

One is a noun, the other a verb.

GrammarGirl speaks:
http://grammar.quickanddirtytips.com/affect-versus-effect.aspx