Tried to race a week after finishing antibiotics for pneumonia. That didn't work so well.
Riding hard with any kind of cold and sinus congestion always makes my head feel like it's going to explode from the pressure.
Fever- forget it.
Upset stomach- forget it.
Stuffy snotty head- forget it.
Intestinal stuff- I'd probably chance it.