Heading out >> moving from somewhere
H is heading out of the city to escape his debts.
B s heading out into the desert
Hanging out >> [literally] something is extruding : His shirt-tails are hanging out under his jacket
>>[metaphorically] socializing with friends : He is hanging out on the street corner with his buddies
You can use "got to" to indicate an imperative: H has got to head out of the city to escape his debts.