Thank you for using Ask a doctor service from Doctor spring.
Firstly, there are lot of conditions which could cause head ache with dizziness. To evaluate the cause in your condition, you will have to give a little more detailed history about the headache and dizziness. Is your headache occurring in any particular time of the day? Do you often get headache in the past? Are you feeling slightly light headed on standing or a feeling of room spinning around you? Have you felt any difficulty in balancing your body during walking? Do you get floaters in eyes when you get headache? What usually triggers you headache? Do you wake up with headache? Have you had any head injury? Have you checked your blood sugar? Please try to reply to this, which will help me to evaluate your problem better.
The most common conditions which cause headache and dizziness are migraine, tension headache, middle ear infection and labyrinthitis, to name few. However, for a definite diagnosis, you must consult a GP/ ENT specialist doctor. If the headache worsens or dizziness extends for long time then you must immediately consult with GP. For the time being, till you get appointment from GP you can use NSAIDs like Paracetamol 500 mg-1000 mg during the time of headache. It should not be used for long term since it causes side effects.
I would like to give you some tips to prevent the episodes of heachache that might help you.
Avoid drinking Alcohol and reduce smoking
Don't expose yourself to lights that are too bright, sounds that are too loud, or smells that are overpowering
Drink plenty of water
Sleep for at least 6-7 hrs in the night
Go for a brisk walk daily for 45 mins.
Eat nutritious food, lot of green leafy vegetables.
Don't strain your eyes reading or sitting at a computer
Hope this helps. Feel free to ask for further help.