What makes you decide when it's best to keep your kids home from school when they aren't feeling well?

I kept my LO home from school today just to be safe. He was so miserable yesterday. He has a cough and cold, but was very lethargic all day and didn't have an appetite. When you offer the kid mac and cheese and he refuses you know he isn't well.