A foot infection can occur after an injury. Bacteria can get into a wound, such as a cut or a skin crack, and cause an infection. Sometimes the infection can form into an abscess. An infected foot is ...