The most effective strategy is usually to stop the insects from entering in the first place. Inspect window screens, door sweeps, garage entrances, exterior vents, and openings around pipes or cables, and seal small gaps whenever possible. Reducing unnecessary outdoor lighting near doors and windows may also help lower insect activity around entry areas. If you use a peppermint spray, apply it lightly around likely access points rather than spraying randomly throughout the house.
If a stink bug does make it inside, crushing it can release the strong odor that gives the insect its name. Instead, gently capture it with a container and stiff paper or use a vacuum, remembering that the smell may linger inside the machine. Keeping vegetation, wood piles, clutter, and other hiding places away from the house can also reduce the number of stink bugs gathering close to walls and windows.
DIY sprays should still be used carefully. Essential oils can damage some surfaces and may be unsafe around certain pets, especially when concentrated, so test mixtures first and keep them away from animals, children, food, and electrical equipment. If large numbers of stink bugs continue appearing throughout the home, the underlying problem may be structural gaps that need professional attention. The best long-term approach is simple: seal entry points first, reduce hiding areas, and use repellents only as an extra layer of prevention.