Affect = to influence something (verb) -- “The movie didn’t affect me at all.”
Effect = result or outcome (noun) -- “The effect of not wearing a seatbelt can be bad.”
Effect = to bring about or cause (verb) -- “The doctor tried to effect a change in my diet.”