"Effect" is a noun meaning the result of something, e.g., "The effect of the decision was profound."
"Affect" is a verb meaning to influence or change something, e.g., "The weather can affect your mood."
In short: Effect = result; Affect = influence.