If your dog has fleas, you need to deworm them first, and then clean up the home environment. It is best to spray flea killer in every corner, then wash all the clothes and sheets, and expose them to the sun. The environment should also be ventilated so that fleas are basically clear.
Tip:
After the fleas are cleared, we still need to deworm the dog regularly to prevent it from being infected with fleas and other parasites.