“Affect” can be a noun, and “effect” can be a verb.
It’s easy to confuse the words affect and effect. I’ve seen some tipsters suggest using affect when you need a verb and effect when you need a noun. That will work most of the time. But occasionally, affect is a noun and effect is a verb. Confused? Roy Peter Clark will clear things up.