Draw a square around your hole, reaching from stud to stud. Studs are typically spaced 18 inches apart.
Using a drywall saw, cut through your marks and remove this piece of drywall. A Utility knife can help cut through tricky areas.
If your wall is textured, sand down the outer ridge of the hole.
Secure a furring strip using drywall screws into the center of the hole.