I had rather go home than stay out too late.
I had rather listen my parents or get in trouble.
Is had rather refers to past?
Can anyone explain 2nd sentence in other words?
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It only takes a minute to sign up.Sign up to join this community
As this NGram shows...
...the form "I had rather..." is effectively "archaic". In most spoken contexts it's "I'd rather X", so you can't really tell what verb form the speaker thinks he's contracting, but these days I'm sure it's invariably would.
The usage has nothing to do with references to "the past". The now-standard conditional simply means if given a choice, X is what I would prefer/rather have.
OP's first example can thus be "fixed" simply by replacing had with would ("If given a choice, I would prefer to go home, not stay out too late").
But example #2 is just completely wrong. Depending on the intended meaning, credible rephrasings might be...
"I had better listen to my parents or I will get into trouble"
"I would rather listen to my parents than get into trouble".