Usage: Effect and affect are often confused because of their similar spelling and pronunciation. The verb 2affect usually has to do with pretense <she affected a cheery disposition despite feeling down>. The more common 3affect denotes having an effect or influence <the weather affected everyone's mood>. The verb effect goes beyond mere influence; it refers to actual achievement of a final result <the new administration hopes to effect a peace settlement>.
Merriam Webster Dictionary
I hope it helps.