Hi and welcome
sorry to hear that your fish is not well
Your platty is probably suffering from the
ammonia in your tank, you really need to read tis guide
http://www.fishlore.com/NitrogenCycle.htm and start the process by doing a 25-50%
water change to the tank and add prime or stresscoat+ to the water as well as your normal water conditioner.
What are you using to test your water by the way? If you are using test strip they are not very accurate and you would be better servered with teh
API master
test kit that most folks here use as they are far more accurate.