Does your fish eat pellet food? If so you could coat the pellet with the tank water and the medication. That way the fish will be sure to get the meds. Also use the medication on the package as directed. My daughter's betta has dropsy and I googled drospy and that is where I got the advice I just mentioned.
Good luck!