asthma and program

Does anyone else have trouble staying on the program when their asthma flares up.I do good until I have asthma then I crave sweets all the time.
Thanks Di