The past tense of have a good one is had a good one.
The third-person singular simple present indicative form of have a good one is has a good one.
The present participle of have a good one is having a good one.
The past participle of have a good one is had a good one.