It's advisable to stay home if you have a respiratory infection, especially if you have a fever or are experiencing symptoms that could easily spread to others. Resting at home not only helps you recover faster but also prevents the potential spread of the infection to colleagues or classmates.