I've had pulled back muscles, flu, cold, toothache, stitches in the mouth (oral surgery) and I'd rather ride than sit on my arse all week. I'd feel worse just sitting there wondering what it would be like to be out riding!
Plus I believe it's aids in the healing process!
Get out and ride, you'll feel better!