Peroneal Tendonitis/Tendonosis
A common complaint of pain along the lateral ankle just posterior to the latereal "ankle bone" is likely caused by peroneal tendonitis/tendonosis. An additional diagnosis can be bursitis.
Yes, you need to treat the tendon, but don’t ignore the actual muscle belly’s of the tendons and the gastroc/soleus/achilles complex!