21/05/2022
Affect is usually a verb meaning "to produce an effect upon," as in "the weather affected his mood."
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. (https://www.merriam-webster.com/words-at-play/affect-vs-effect-usage-difference)