First, you would need to be under the care of a licensed physician.
The physician would need to diagnose your medical problem as something being caused directly by your job. You would need to present these findings to your employer. Your employer would then get an opportunity to move you to another location or eliminate the item making you ill.
Your doctor would need to order you, in writing, to terminate your job for your health.