A stress fracture in the shin is a small crack in the shin bone. It may cause pain, swelling, and tenderness when you put weight on your shin. Treatment may include medication and lifestyle changes.