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