The past tense of do good to is did good to.
The third-person singular simple present indicative form of do good to is does good to.
The present participle of do good to is doing good to.
The past participle of do good to is done good to.