Amputation may be necessary for diabetic foot ulcers that have become infected and have reached the bone. This is done to prevent blood poisoning. Diabetic foot deformity and decreased blood supply can contribute to the development of foot ulcers.