Slightly OT. First, a disclaimer: I am not an English teacher nor the child of an English teacher, but 'affect' and 'effect' are two of the most commonly confused words in the English language. (Sorry - slow night here - filling the time gaps with grammatical trivia.)
The Merriam-Webster web site offers this hint on how to distinguish between the two and use the correct one:
Affect is usually a verb meaning "to produce an effect upon," as in "What can affect Perl startup time?"
Effect is usually a noun meaning "a change that results when something is done or happens," as in "computers have had a huge effect on our lives."
There are exceptions, but if you think of affect as a verb and effect as a noun, you’ll be right a majority of the time."
"It's not how hard you work, it's how much you get done."