Had best has 2 different meanings across 1 category:
Verb
act in one's own or everybody's best interest
"You will do well to arrive on time tomorrow!"
Had better.