The answer to 'DIY rat control' is to use a combination of exclusion, trapping, and sanitation methods. Start by sealing any entry points into your home, such as cracks and holes, to prevent rats from getting inside. Then set up humane traps baited with food to catch any rats that have already made their way in. Be sure to check the traps regularly and release any live catches at least a mile away from your home. Finally, maintain good sanitation by storing food in airtight containers, cleaning up any spills or crumbs, and removing potential nesting sites like piles of clutter.
While these DIY methods can be effective, it's important to note that severe rat infestations may require professional pest control services. Rats can spread diseases and cause significant structural damage, so it's best to call in an expert if you're dealing with a large-scale problem or have safety concerns.