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