If you were negative and foul don't act like you never did anything wrong. Own your history and look forward to a positive outcome. Don't stress money because that is going to play a role in the outcome. The judge or magistrate doesn't know you and if has landed in their court they have to deal with the case. They are not picking on you. They are dealing with the issues. If the water is just to muddy to work on anything together, close your mouth and simply prepare you paperwork.
Be ready to ask any questions you may have so you can ask them calmly in court. However, the more you can work on together the less the courts are going to be needed. Remember the focus is your child/ren and for that reason a positive attempt is warranted. This may not be easy but you don't have to add to the it bring rough. Look for and want a positive outcome for the sake of the child.