How to add an edge ring around a hole
In addition to using bevel (@RobinBetts answer), you can also use Inset.

In face selection select all your geometry minus the ring of faces inside the hole, then inset I. This gives you loops on both sides of the hole.