Exemple 1
早く寝たほうがいい。
Hayaku neta hou ga ii.
It's better if you go to bed early.
Détail
早くearly
寝たslept (go to bed, ta-form)
ほうside/way
がsubject marker
いいgood
Remarque: Suggesting the listener should go to bed early.
Exemple 2
もっと勉強したほうがいい。
Motto benkyou shita hou ga ii.
You should study more.
Détail
もっとmore
勉強したstudied (study, ta-form)
ほうside/way
がsubject marker
いいgood
Remarque: Advice to increase study.
Exemple 3
病気の時は、薬を飲んだほうがいい。
Byouki no toki wa, kusuri wo nonda hou ga ii.
It's a good idea to take medicine when you're sick.
Détail
病気の時when (you're) sick
はtopic marker
薬をmedicine (object)
飲んだtook (drink, ta-form)
ほうside/way
がsubject marker
いいgood
Remarque: Common advice for illness.
Exemple 4
コーヒーを飲まないほうがいい。
Koohii wo nomanai hou ga ii.
It's better if you don't drink coffee.
Détail
コーヒーをcoffee (object)
飲まないdo not drink
ほうside/way
がsubject marker
いいgood
Remarque: Negative form (not to do something) is also possible.