Hi and welcome to the forum
The 2 white fish in the picture are white sailfin mollies (Poecilia latipinna). The male is on the left and has the big dorsal (top) fin, and a long thin anal (bottom) fin called a gonopodium. The female has smaller fins, and a fan/ triangular shaped anal fin, and is on the right.
-------------------------
The male appears to have gill flukes and intestinal worms. You can use Praziquantel to treat tapeworm and gill flukes. And Levamisole to treat thread/ round worms. If these medications are not available, look for Flubendazole.
Remove carbon from filters before treatment and increase aeration/ surface turbulence to maximise oxygen levels in the water.
You treat the fish once a week for 3-4 weeks. The first treatment will kill any worms in the fish. The second and third treatments kill any baby worms that hatch from eggs inside the fish's digestive tract.
You do a 75% water change and complete gravel clean 24-48 hours after treatment. Clean the filter 24 hours after treatment too.
Treat every fish tank in the house at the same time.
Do not use the 2 medications together. If you want to treat both medications in a short space of time, use Praziquantel on day one. Do a 75% water change and gravel clean the substrate on day 2 & 3. Treat the tank with Levamisole on day 4 and do a 75% water change and gravel clean on day 5, 6 & 7 and then start with Praziquantel again on day 8.
The water changes will remove most of the medication so you don't overdose the fish. The gravel cleaning will suck out any worms and eggs that have been expelled by the fish. Repeating the treatment for 3-4 doses at weekly intervals will kill any worms that hatch from eggs. At the end of the treatment you will have healthier fish.
-------------------------
Mollies need hard water with a GH above 250ppm and a pH above 7.0. You should find out what the GH and pH of your water is so you can provide the fish with suitable conditions. If mollies are kept in soft water (GH below 150ppm), they have lots of problems and die prematurely.
The GH and pH can usually be obtained from your water supply company's website or by telephoning them. If they can't help you, take a glass full of tap water to the local pet shop and get them to test it for you. Write the results down (in numbers) when they do the tests. And ask them what the results are in (eg: ppm, dGH, or something else).