The appellate record needs to be examined because what is in the record already sets the stage for what can be done next. The answer to your question may take several hours of legal research. You do not state what the outcome was. Who got custody? Why? And to decide what the next step will be needs to be really fast because the appeal deadline clock is running and 12 days have already passed since the court session you mention.
You might find helpful my Legal Guide Questions to Consider Before Bringing an Appeal
Because this matter is so important you should really get a lawyer.
You might find my Legal Guide helpful "How to Choose A Lawyer For You"
You might find my Legal Guide helpful " What Do I Tell My Lawyer"
No one can know what the record is in the case because online we cannot see your documents. You need a lawyer. Check with a lawyer in your locale to discuss more of the details.
Good luck to you.
NOTE: This answer is made available by the lawyer for educational purposes only. By using or participating in this site you understand that there is no attorney client privilege between you and the attorney responding. This site should not be used as a substitute for competent legal advice from a licensed professional attorney with whom you have established an attorney client relationship and all the privileges that relationship provides. The law changes frequently and varies from jurisdiction to jurisdiction. The information and materials provided are general in nature, and may not apply to a specific factual or legal circumstance described in the question.
In Texas, the appellate timelines move quickly. You should speak to an attorney or someone with knowledge of the legal deadlines quickly because of the entry of an order. You also may still be within the deadline to ask the trial judge to reconsider his ruling.