The past tense of give a pain is gave a pain.
The third-person singular simple present indicative form of give a pain is gives a pain.
The present participle of give a pain is giving a pain.
The past participle of give a pain is given a pain.