How to get rid of fleas?☹️

My fur baby has fleas and is very itchy and pitiful. I’ve given him 3 flea baths and I haven’t seen much improvement. He’s an inside dog so I sprinkled this flea powder on the carpet and vacuumed it up. Still no improvement. I’ll make him a vet appointment, but is there any other suggestions?