Change the water and check the filter
Treat with antibiotics
Use antifungal medication if the rot is more evenly spread out and the fin has holes. This may also be a symptom of an external columnaris infection, especially if it progresses rapidly (within 24 hours) and the rotted edge has a white, fuzzy appearance.