When this happens I have a little trick :) I straighten my bangs, I separate my hair to my sides, and start a braid about 2 inches away from my scalp.
Braid both sides like so...
Then get your favorite beret and put it on leaving your bangs and braids out. Get it where you want it and use bobby pins to keep it in place.
This saves me from my bad hair days. Every time.