The past tense of buy what one needs is bought what one needs.
The third-person singular simple present indicative form of buy what one needs is buys what one needs.
The present participle of buy what one needs is buying what one needs.
The past participle of buy what one needs is bought what one needs.