Nurses play a vital role in preventing bacterial infections through various infection control practices. These include hand hygiene, sterilization of medical equipment, proper wound care, and educating patients on hygiene practices. Vaccinations also play a key role in preventing bacterial infections.