IELTS writing: What's the difference between affect and effect?

IELTS writing: What's the difference between affect and effect?