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