I'm sure I've asked before but

I’ve forgotten how to get a rotated object back to a vertical or horizontal state once it’s been rotated several times over -nudged and so forth. How can I reset the object to a exact veriticle or horizontal position??