The main methods for treating fin rot in betta fish include the following:

Fin rot caused by bacterial infection:
Raise the water temperature: Increase the water temperature by about 2°C and keep it between 24°C and 27°C.
Change the water: Replace one-fourth of the water every day, and add an appropriate amount of yellow powder or coarse salt for disinfection.
Medication treatment: Use yellow powder or coarse salt for a medicated bath. Change the water and replenish the medicine after 2 to 3 days, and continue the treatment for 1 week.
Fin rot caused by physical damage:
Raise the water temperature: Raise the water temperature by about 2°C and keep it around 30°C.
Change the water: Usually replace one-third of the water, and use an air pump to aerate the water.
Medication treatment: Add an appropriate amount of yellow powder, and keep it away from light. The effective period should not exceed one week.
Fin rot caused by parasites:
Raise the water temperature: Increase the water temperature by about 2°C.
Medication treatment: Use a low concentration of trichlorfon or mercuric nitrate for a medicated bath. Decide whether to stop using the medicine according to the condition of the fish.
Preventive measures:
Keep the water quality clean: Change the water regularly to avoid water quality deterioration.
Stabilize the water quality parameters: Keep the pH value and temperature of the water stable and avoid drastic changes.
Disinfection treatment: Disinfect the live food you feed to prevent parasites from invading.