I think fleas have become resistant to most over-the-counter treatments.
We use a spot-on treatment prescribed by our vet (Nexgard Combo, but there are others).
You do need to use it every 4 weeks, but it protects against internal (eg tapeworms) as well as external parasites.
Initially, you will need to clear the house of fleas and eggs.
Vacuum getting into all the nooks and crannies, wash, spray, repeat. Vet will advise on best spray to use.
Make sure their beds can be washed at a high temperature.
But once done, if you maintain the treatment on the cats, you shouldn't get re-infested or need to treat the house.
Our cat is a hunter and picks up masses of fleas from rabbits. The treatment means they will not stay on her for long, but I do sometimes use a flea comb and forceps to pick them off her ears just to make her more comfortable/stop scratching.