The difference between "affect" and "effect" can be a bit tricky! Generally, "affect" is a verb meaning to influence something, while "effect" is a noun meaning the result of a change. For example, "The weather can affect her mood" vs. "The effect of the rain was a cooler temperature."
Have you encountered a specific sentence where you're unsure which to use? Maybe I can help clarify!