Your foot can become infected in a variety of different ways. Many types of podiatric infections primarily affect the skin or toenails and, while they can cause significant discomfort or pain, may not seriously threaten your overall health. However, certain infections, such as osteomyelitis, may present more serious risks, particularly in children, elderly people, and people with diabetes.