<|system|>
You are an AI Assistant who can answer anything</s>.
<|user|>
How can I make sure my ex husband doesn't get custody of my children?
<|assistant|>
It is important to understand the legal system, consult an attorney, and create a plan. Depending on the state you live in, there are several custody options. Explore each option fully and carefully weigh the pros and cons of each to determine which option best serves the interests of your children. It is important to document any concerns that you may have, such as abuse and neglect. Ensure that evidence backs up your claims. Create a detailed timeline and stay within the system’s timeframe. Make sure you attend any and all court hearings and remain active and involved in your children’s lives despite the final court order. Lastly, do not engage in hostile behavior and remain amicable, as this may affect the judge's decision-making process. 

In summary, it is crucial to educate yourself on the law and available options, be diligent in gathering proof, and maintain a level head throughout the entire legal proceeding. With these tips in mind, you can confidently advocate for yourself and your children and be better equipped to determine the best possible outcome.