Hi.
Effect is a noun.
It means change that happens when something is done or has happened. It refers to a result, outcome, or consequence.
Example: The effect that the incident had on him was horrible.
Affect is a verb to show action. It means to impact, influence, or produce change.
Example: The incident affected her self-esteem negatively.