How to baby proof this?

Esther • I’m better than horrible. EMT and Respiratory Therapist

And of course all of the stuff will be taken off and the cage/gate will be locked.