This means you must do something. It shows that an action is needed. You have to do it.
にに。
Yesterday, I had to go to the library to return a book.
、。
Because I have to submit my report, I might have to pull an all-nighter tonight.
で。。
It's not that you have to do it all by yourself. I'll help, so just let me know.
、。
I have to read these materials before the meeting.