Many flea bombs will kill a number of insects, including moths, fleas, and roaches. To treat a yard, go to a garden center and buy a bug killer that you sprinkle on the ground. I'm told it will kill ALL the bugs in your yard. I have never had to treat the yard. None of the neighborhood strays i have taken in have had fleas (earmites are another matter!) because my neighbors yards don't have fleas. But I have gotten cats from other sources that have had them. Fleas are more of a problem down south. Up north here the winters are cold enough that most of the fleas outdoors die off. Those that survive have to start breeding again in the spring before they are a problem. In the south where they seldom have a hard freeze, fleas, ticks, and heartworms are a year round problem.
Cleaning up after flea bombing is not too bad because the chemicals become inert after a few hours. That's when it's safe to go back in the house. You just have to protect food from being exposed, and scrub any food prep surfaces and exposed dishes. I strip the bed before hand to make sure there are no bugs hiding in the bedding and to be sure the matress gets treated, then i wash the bedding. I would wash any pet bedding too. Flea bombs do not kill the flea eggs, so you might have to bomb again in a few weeks to get the ones that hatch after the first bombing.
If you think you have a small infestation, mostly in one area of your house, you can try this home made flea trap. You will need a goosneck lamp (desk lamp) with an incandescent bulb, and a pie or baking pan with a half inch to one inch of water in it. Put the pan on the floor and set the lamp next to it with the bulb hanging over the pan. Put a drop or two of dish soap in the water to break the surface tension and be sure the lamp will not tip over into the water. Keep pets and small children away. Fleas find their prey by detecting the body heat. The heat of the light bulb will attract the flea which will jump for the bulb, be stunned by the heat, fall into the pan of water, and drown. This sounds a bit Rube Goldberg, but it works. You can see the drowned fleass in the pan.