Sorry, to say but this is fin rot in its early stage!
The infected “parts” could be cut away. This should be done with a sharp sterilized pair of scissors, sedate the fish before doing this. The fin should be cut away behind the damage or area of redness.
Once completed, a suitable topical treatment should be applied to the newly exposed fin to help prevent reinfection.