Put on gardening gloves then pull up any weeds in your garden by their roots. Weeds can harbor leaf-footed stink bugs; and if you don't remove the entire root, the weeds will grow back.
Spray the front yard and the back of your property with a pesticide that contains bifenthrin, which attacks the nervous system of leaf-footed stinkbugs. Focus on the areas around your garden, shrubs and exterior walls, as well as window exteriors and doorjambs.
Inspect your home for any holes in the windows, screens or doors. Stinkbugs only need a small opening to get into your home. Patch up any holes you find.
Connect a hose attachment to your vacuum cleaner and vacuum up any stinkbugs you find in your home.
Spray any leaf-footed stinkbugs you see in your home with a water and soap mixture. This is not as effective as a pesticide, but it is safer for indoor use if you have small children or pets.