Nitenpyram, better known as Capstar, is the most often used flea-killing treatment on dogs. Fleas are killed within 30 minutes of taking this single-use pill by mouth. When utilizing Capstar, it's best to keep your pet confined to a limited space.