A wound infection occurs when bacteria enters a break in the skin. The infection may involve just the skin, or affect deeper tissues or organs close to the wound.