Your headache may definitely be due to withdrawal symptoms. But you try to find out if you are experiencing any stress which is quite common in this situation. Moreover, you need to measure your blood pressure asap.
Next Steps
You should consult a physician.
Health Tips
If you could quit smoking, please don’t restart it for any difficulty you are facing. Wish you all the best.