This isn't really the place to ask as this is for school related questions but I will say you're not alone. You can take advil for your headache and maybe look into sleeping pills.
If you want a natural way to fix it without pills I would suggest making sure you're eating enough and having enough water.
About the dreams... No idea, I have the same problem with nightly nightmares, if you find a fix let me know