Headaches after a wreck

So I was in a wreck about a month ago and before the wreck I would never get headaches, like I’m talking maybe I’ve had 3, but in the wreck I got some bad whiplash and I’ve been getting really bad headaches everyday. Does anyone know anything to help with them? Hopefully going to the doctor for them soon but it’s getting pretty bad