The past tense of get what for is got what for.
The third-person singular simple present indicative form of get what for is gets what for.
The present participle of get what for is getting what for.
The past participle of get what for is got what for.