How to avoid headaches caused by stress