Bucket-to-bucket
This is a very effective, cheap, and non invasive way to treat your fish, especially if you don't have any chance of getting a hospital tank. All you need are 3-4 buckets/rubbermaids, any size you like, but best would be anything above 5-10 gallon, just so the fish can swim in it comfortably. Those buckets need to be new, and never used for cleaning before, so there isn't any chance of the fish being poisoned by cleaning supply residue. Those buckets/rubbermaids can otherwise being used for storing any kind of fish things during non-treatment.
A ammonia test kit is also very important (as explained later)
What to do with those buckets/rubbermaids?
Fill each of them up with tap water, let them sit in the same room than the tank is, so the temperature can adjust to the one in the tank.You can put in each bucket 1 tablespoon per 5 gl of rock, aquarium or solar salt. This btw works fine with any other medication you might need to administer to the fish. Add an airstone to the bucket as well. If treating for dropsy, a heater in both buckets is also needed at this point.
Then put the fish in it for the duration of 24 hours, or until the ammonia in the bucket rises to even slightly detectable levels (hence the earlier mentioned test kit). Monitor the fish's behavior during that time, as well as frequent testing of the ammonia in the water.
When either the 24 hours are up or the ammonia gets to high, transfer the fish into the next bucket, also with the salt (or whatever medication) already in it. Empty the first bucket, clean it out good with a mild bleach solution and keep rinsing until the bleach smell is gone. And when refilling that bucket, dose it with a double dose of dechlorinator, just to be safe.
This moving from bucket to bucket of the fish has the big advantage that whatever parasite is bothering the fish will be left behind in huge numbers in the old bucket, while the fish gets a fresh start every time in a non invested bucket. There is also the possibility that there is something toxic going on in the fish's main tank, and moving it out from there will highly increase the fish's recovery chance.
Bucket-to-bucket can be done with no medication or salt in it for very weak fish, which would succumb to any medication. Just by putting the fish into new water over and over again without any treatment, he has a higher chance of healing and gathering strength, since no harsh medications are damaging him any further.