There are a couple of reasons why fish can fight, itās important to work out what the problem is before you can fix it.
Some species are just aggressive naturally and will need to be kept with suitable tank mates so they donāt fight or if they do then they are equally matched so that they donāt do too much damage to each other. Sometimes you will get a fish which according to the species profile shouldnāt be aggressive, but they just are! Just like while most people are generally reasonable and calm, some people are just plain aggressive and mentalā¦. It happens all across the animal kingdom, even the humble neon tetra has character variations. So if you have got a super aggressive fish it may be best to re-home them to a tank with more suitable inhabitants.
That may not be the case though and the aggression may be a reaction to something, a lot of peaceful animals will fight if they are backed into a corner, you just need to get them out of the corner and they will calm down.
So first thing to look at is tank mates, if they are kept with something unsuitable that they are scared of then they can lash out, likewise if they are kept in a unsuitable number (e.g. schooling fish kept by itself) they can become scared and start to attack other fish. Attack is the best form of defence!
Secondly is tank size and dĆ©cor, if a fish is crowded, or itās a fish which needs a certain sort of dĆ©cor like itās own cave and it doesnāt have it, then once again they can become aggressive to protect themselves.
And last but by no means least is water quality, fish can quickly become distressed when the water is poor, if there is ammonia or nitrite in the water you can expect strange behaviour including aggression.
So first thing to do is to identify/rule out the 3 main points above, so what are your water stats, what size is the tank, what species and how many of each, what dƩcor do you have, pic if possible