Pain along the outer ankle after sport is easy to blame on an old sprain. Guessing wrong means you keep loading a tendon that is already complaining.
What peroneal tendonitis is
Cleveland Clinic describes peroneal tendonitis as inflammation in the tendons that run along your outer ankle bone and the side of your foot. Where the pain sits matters, because an ankle can hurt for several different reasons.
Symptoms, and where guessing stops
Cleveland Clinic lists ankle pain along the length of the tendon among the possible symptoms of peroneal tendonitis. Pain that follows the tendon is a clue, not a diagnosis. Swelling, pain after a twist, or an ankle that feels unreliable under you call for an exam, not a home plan.
Footwear is the one thing to check yourself
Shoes are the part of the problem you can inspect alone. The APMA publishes a page on which running shoe is right for you, and it is a sensible first read if your pair is worn out or was never matched to what you play.
When the pain sits somewhere else
If your pain is at the big toe joint instead of the outer ankle, you are reading about the wrong injury. Turf toe is one example, and a PubMed Central paper on the outcomes of surgical management of turf toe approaches it from the surgical side with long-term results.
The rule for being seen
Get examined if outer-ankle pain lingers after you rest from your sport, if the ankle feels unstable, or if you cannot tell whether the trouble is tendon or ligament. Waiting out an unclear ankle is the choice this page argues against.