Not only is teaching a stressful job, but teachers also come in contact with germs from all of the kids they see as well.
Don't be the brave soldier and try to tough it out. Stay home and get well. Not only will you help your chances of a faster recovery, you also won't be putting students and coworkers at risk.
Your students will be the ones who benefit.