The past tense of have an effect is had an effect.
The third-person singular simple present indicative form of have an effect is has an effect.
The present participle of have an effect is having an effect.
The past participle of have an effect is had an effect.