This means you must do something. It shows a strong need to do an action.
に。
I have to submit these documents by tomorrow.
、。
Yesterday, I had to take care of my sick younger brother all day.
に、。
It's not that you have to go to the gym every day, but it's good for your health.
、。
Since you have to gather several documents to apply for a visa, let's start preparing early.