What types of infections are you talking about?
If the patient is contagious - of course you need to have the person in a private room with isolation precautions at the level needed. But an infection in and of inself is no reason for concern, especially if the nurses, aides, docs, lab folks, families etc WASH THEIR HANDS.
I work on a stem call transplant unit. Rarely we have had to take medical type patient due to bed control issues in house. But because our patients have no immune system to speak of we put medical folks with, for example a simple puemonia in respiratory isolation - gown, face masks with shield and gloves. Plus we don't allow them to walk around the unit. The medical docs (and patients and families) hate it so they are usually pretty diligent and insistent in getting their folks moved off our floor

Of course we aren't doing it just to get them moved though!