Rats won’t be able to make a home under your decked areas if they can’t get in to begin with, so make a barrier. How do I know if rats are in my garden or home? Of course, learning how to get rid of rats can be a lifesaver, but you may not be 100% sure that these pests are visiting your home in the first place.