~た方がいい
Give advice: you should do this
You’ll be able to give someone advice about what they should do in a situation.

傘を持って行った方がいいです。
kasa o motte itta hou ga ii desu.
What do you think this sentence means?
You should take an umbrella.
Give advice to do something
Use ~た方がいい to recommend an action: “you should…” or “it would be better to…”. Depending on tone, it can sound fairly strong, so use it when advice is appropriate.
今日は早く寝た方がいいですよ。
kyou wa hayaku neta hou ga ii desu yo.
You should go to bed early today.
Verb-た + 方がいい
Put the recommended action in the た-form and add 方がいいです.
病院に行った方がいいです。
byouin ni itta hou ga ii desu.
You should go to the hospital.
もっと水を飲んだ方がいいですよ。
motto mizu o nonda hou ga ii desu yo.
You should drink more water.
電車で行った方がいいです。
densha de itta hou ga ii desu.
It would be better to go by train.
~なくてはいけません vs ~た方がいい
Both push someone toward an action. なくてはいけません leaves no choice; た方がいい is advice they are free to ignore.
Advice
今日は早く寝た方がいいですよ。
kyou wa hayaku neta hou ga ii desu yo.
You should go to bed early today.
A suggestion, softened further by よ.
Obligation
今日は早く寝なくてはいけません。
kyou wa hayaku nenakute wa ikemasen.
You have to go to bed early today.
A requirement, with no room to decline.
テストの前の日は早く寝た方がいいです。
tesuto no mae no hi wa hayaku neta hou ga ii desu.
You should go to bed early the day before a test.
朝ごはんを食べた方がいいですよ。
asagohan o tabeta hou ga ii desu yo.
You should eat breakfast.
暑い日は水をたくさん飲んだ方がいいです。
atsui hi wa mizu o takusan nonda hou ga ii desu.
You should drink plenty of water on hot days.
12 more examples in the grammar path — free for a limited time.