If you are genuinely concerned about the fish then the best thing I think you can do is take it back, he is slowly poisoning himself in your tank due to the fish waste, uneaten food etc breaking down and producing amonia, and your filter not having the bacteria to remove it.
Once the fish has gone back then you should
cycle your tank, there are guides on how to do this
here.
Basically your filter needs to house enough bacteria to covnvert the toxic chemicals from fish waste into Nitrate which is removed by a water changing.
The cycle is this
Amonia>Nitrite>Nitriate
Amonia.
Produced by fish waste, dead plant matter, uneaten food etc. As these break down in the water they produce amonia which is poisonous and will kill your fish in very short order if it is not removed. The bacteria in a fully cycled tank will remove the amonia and produce Nitirate.
If you have a test kit, then the amonia level must be at 0 ppm at all times if you have fish in your tank.
Nitrite
As the amonia bacteria remove amonia they produce nitrite. Nitrite is poisonous to fish and will kill them as quickly as amonia will if it is allowed to build up. In a fully cycled tank nitrite will be removed by the nitrifying bacteria which will then produce nitrate.
Again your water should have a reading of 0 ppm at all times when you have fish in yourtank
Nitrate
Nitrate is produced by the nitrifying bacteria removing nitrite, they then produce nitrate. Nitrate is less toxic to fish and can be tolerated in higher levels, it can be removed by either regular water changes or absorbed by plants.
You should be aiming to keep your nitrate levels at no more than 20 ppm more than your tap water, easily achieved with a good maintenance routine.
I'd like to add that people suggesting you take your fish back do not have a holier than thou attitude, and genuinely want to see you enjoy keeping happy healthy fish. Cycling your tank is a vital process to achieve that and must not be overlooked. It will require paitence, but is easy enough and the benefits far outweigh the time & effort spent cycling your tank.
P.S Ask lots of questions!!
