Affected or effected – which form is correct? What is the difference?

Affected or effected – which form is correct? What is the difference?