Stress Fractures: Management and Treatment Stop the activity that is causing pain. Apply an ice pack to the injured area. Rest for 1 to 6 weeks. When you are lying down, raise your foot above the level of your heart. Take nonsteroidal anti-inflammatory medicines to help relieve pain and swelling. Use protective footwear to reduce stress on your foot or leg.