If it were me I would file for an ex parte order right away and get things changed as soon as possible.

https://info.legalzoom.com/ex-parte-custody-order-25626.html