Thoughts for avoiding headache and depression

Hi Brooke, through my work in scholars I’ve got better at managing episodes of depression and migraine. When I read about law of attraction it suggests my vibration may be attracting these negative experiences into my life. Do you believe I can reduce depression or headaches by altering my thoughts? Thank you.