Why the negative form in すぐ行かないと?


I know that you can use the negative form to ask questions but why is it used
in this sentence? I believe this sentence translates to "I have to go right
away", but it's literally "I won't go right away"?

