I've used various flea sprays around my house over the years. Some of the strongest (and best) ones expect you to vacate your home, leaving all of the windows open, for several hours though! You also can't use them on bedding (either for animals or for yourself).
I've recently discovered this product though, which is surprisingly good at doing its job. (To be honest, I wasn't expecting that much from cheapish stuff purchased from B&M but it really works!). Its advantages are that you don't have to vacate rooms after you've used it and you can use it on any surface, including bedding, except for ones that it would make slippery (such as wooden flooring). Each bottle seems to go a long way and you can even apply it directly onto your pets!
https://www.bmstores.co.uk/products/bob-martin-flea-and-tick-spray-300ml-296696
(If you decide to seek it out, note that the label has been changed from green to orange since it was listed on the B&M website).