You use this when you must do something. It means "have to" or "must." It is a shorter, more casual way to say it.
、!。
Oh, look at the time! I have to go home soon.
、。
I had to finish my report yesterday, so I'm sleep-deprived.
、に。
You have to eat more vegetables, or it'll be bad for your health.
、。
Since it's an important presentation, I wonder if my suit has to be new...