If you develop a foot ulcer, it is important to treat it promptly to prevent it from becoming infected. Your doctor or podiatrist may recommend dressings, antibiotics, or other treatments.