I am having headaches from pesticides?

Get some blood tests. Depending upon the variety of pesticide, it is not unique to get headaches or other problems. Would double check for underlying effects upon neurotransmitters, perhaps evaluate oxygen, carbon monoxide, etc. Would use meds commonly employed in migraine to prevent further events.