6 weeks on fluoxetine

feeling so much better on fluoxetine but experiencing tension headaches , which doesn’t help the anxiety which seems under control now
was on 20mg for 4 weeks now on 40 for 1 week
how long should i wait to see if this can improve tension headache