Question: what do if dog has fleas?
Answer: Wash all bedding in hot, soapy water.
Vacuum all carpets, hardwood floors, linoleum, and tiled floors, and throw away the vacuum bag.
Choose and apply an environmental flea control like methoprene, or call a local exterminator.