contestada

Hi so me and my friend are having trouble with “affected” and “effected”. So my friend use a sentence saying “That post effected me”. Shouldn’t it be “That post affected me.”