can treating hypothyroidism with medicine get rid of the headache sympotm?

I have early stages of hypothyroidism… I also have chronic daily headaches that we think it’s related to the thyroid levels- but there are many other reason’s for my headaches so it’s complicated. Anyways does anyone else have this combination of problems (hypothyroidism and headaches) AND does taking the thyroid medicine help the headaches???