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