Hello English speakers. I would like to know?

The sentence "I had better do something" describes a present situation. It's recommended to me to do sth.
How can you express a past situation ?
* I would have better have done sth"?
OK, I could say "I should have done sth", but I am curious ^^
Thank you all in advance.
4 answers 4