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