From my understanding you'll need to do a specialized cleaning of your house and yard to thoroughly get rid of the fleas. Even changing your vacuum bag is important. They lay eggs that hatch and can re-infect your dog. Here’s some more info on cleaning.
Fleas in the House - Getting Rid of Fleas in the House