I swear that I will leave the religion of Allah if I return to smoking" and then returned to smoking. What is the ruling?
Whoever conditions disbelief on something and intends to disbelieve if it happens, he becomes a disbeliever immediately. Therefore, you must pronounce the two testimonies of faith (Shahada) and reconcile with your wife if she is in her waiting period (Iddah). It is recommended to consult the Department of Fatwa for further guidance. And Allah Knows Best.
Is permissible to buy/sell with non-Muslim?
Yes buying/selling for a Muslim with non-Muslim is permissible as regards what is lawful.
My headcloth is causing me a terrible headache and severe shortsightedness. Is it permissible for me to take it off?
All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallahu ‘alayhi wa sallam, is His slave and Messenger.
If the headcloth Khimar is harmful, it is sufficient to wear the Niqab (face-veil). However, with the passage of time you will get used to the Khimar and these symptoms will go away. And Allah The Almighty Knows Best.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.