Are you consuming dolo daily or on the days you had e headaches!!!??
Otherwise also, it would be better to identify the reason for your stress or headache rather than contemplating whether to have dolo or not.
Next Steps
If required, consult a psychologist for a better understanding.