Affect is usually a verb and means to influence or to make a difference.
Effect is usually a noun that means a result or an outcome.
- She ate too much over Christmas and this affected her weight
- The sound of the falling rain had a calming effect, putting me to sleep.