Splinting or buddy taping the injured toe may be used in treatment. Rest as much as you can and avoid placing any pressure on your foot. For protection and support, use shoes with cushioning or a hard sole. To reduce pain and inflammation, apply a cold compress many times each day and take NSAIDs. If these methods fail, see a podiatrist. These are only some of the ways that can help prevent pain when walking. It's important to seek medical advice if you experience pain when walking. A podiatrist can properly diagnose and treat any problems that may be causing your pain.