If you treat a reef tank with praziquantel, you'll get a half dead tank. All of your inverts will die. Never, ever dose a reef tank with medications. There's no such thing as a "reef safe" medication.
When David and I are talking about a
10g, we're talking about a NEW
10g, not moving him into an already occupied system. Although the inhabitants are more peaceful, it will still be very stressful. And if he is carrying a pathogen like worms, you don't want to transmit it to the rest of the tank(s).
Set up a new QT tank, move him into it and keep it under low light with places to hide. Feed him whatever he was eating at the store, offering it twice daily on a regular schedule. His fins will likely recover without medication, but if you see redness or swelling around the wound, treat the water with an antibiotic like nitrofurazone. When he has calmed down, then consider deworming. The worms, if any, can wait.
I don't like praziquantel; I've seen it kill stressed fish. It seems to be hard on their systems. I only use it with reluctance... it's the big guns in the arsenal. For routine deworming, I prefer piperazine, mixed into food and fed to the fish. The fish, of course, has to be eating well and consistently for this to work.
Try not to chase him around the tank when you catch him. He doesn't need the extra stress.
Don't count your gobies before they've metamorphasized.