Hello Friend, Good that you are seeking a help. Generally headaches is a symptoms of tension or anxiety. Just analyze how is your emotions in the last two to three months. If you are undergoing any emotional stress due to family or relationship, then its quite possibly you have such symptoms.
No worries. It's just just like any other physical illness and can be treated through counseling session and few lifestyle changes or therapy.
Next Steps
Consult a psychologists directly or online. Feel free to reach out to me online through Practo app for further evaluation and recommendation.