Affect and effect are easy to mix up. I want to explain the difference between the two words before we get to the memory trick though.
What Is the Difference Between ‘Affect’ and ‘Effect’?

Affect is usually a verb, and it means to impact or change.

Effect is usually a noun, an effect is the result of a change. However, there are certain situations and fixed phrases that break the rules of general use for those words.

Most of the time you use affect as a verb and effect as a noun. Affect can either mean “to influence” or “to act in a way that you don’t feel.” Effect typically means “a result.”
When to Use Affect?

Affect means to produce a change in something or to influence.
Affect in Sentence:

The decision will not affect the validity of the remaining agreement provisions.
Does Coronavirus affect the body?
The new rules won’t affect you.
When to Use Effect?

Effect is a noun, and it’s the result of a change. And if an event impacts your life, you ‘re going to feel the effect of that event.
Effect in Sentence:

Her deep voice had the usual effect on his pulse
She saw the effect these words had produced on her son.
The snow had an immediate effect on traffic.

Affect vs. Effect Exceptions

Effect as a Verb:

Effect as a verb is meant to “bring about” or “to accomplish,”. It usually appears with names such as “change” or “solutions.”
Aardvark hoped to effect change in the village.
Affect as a Noun:

Affect can be used as a noun when you are talking about the feeling, emotion, or specific emotional response–it means the mood that someone appears to have.
The patient had a flat affect throughout the session