Hi, In your sentence, "affect " is the correct word. "Effect" is word commonly used as a noun, meaning "result produced". This link explains it very clearly.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.