The NHS website contains useful information about reducing the risk of germs spreading in all sorts of places.
It includes helpful information on laundering clothes too, such as:
Wash your hands after handling dirty laundry;
All underwear, towels, and household linens should be washed at 60C (140F) with a bleach-based laundry product to prevent germs from spreading;
Don’t leave laundry in the washing machine – any remaining germs can multiply rapidly.