How do you get rid of fleas?

How do you get rid of fleas? Our rental house was infested by the previous renters and they are EVERYWHERE.

Diatomaceous earth but check the safety regulations on it if you have pets or kids. I didn’t have an infestation but I saw a couple on my dogs bed last year and I got a flea spray from Amazon that worked on furniture and bedding. I sprayed everything a couple times a day for a couple days and that seemed to do the trick

Call an exterminator and have them bomb the house