Infections can occur after many types of medical procedures. This is particularly true if you are having surgery.