For me I only ride if its a head cold, no fever, not in my chest, not dizzy, and if I puke there is no way i'm riding. I have a few other criteria that I consider as well. I actually wrote about this last week on my blog in a post titled
Don't Try To Train If You Are Sick