If a groundhog is trapped under your porch or base of the house, the best way to get rid of them is by catching them using a trap and then releasing them.