Counter the allegations with evidence. If there are accusations of substance use, get Chain Of Custody testing done - Hair testing will show a 3 months history of drug use, so if you have no reason to worry about that, its the absolute best evidence you can provide. Failing this, stay totally clean from now on and do weekly chain of custody urine drug screens for at least a month, as you will be best served history over time (each test shows a 3-5 day window). If Alcohol abuse is being thrown at you, get a chain of custody CDT test done once a fortnight for a month.
If you are being accused of any kind of family violence, go and see a psychologist and discuss what's happening, if they believe there is possibly a case that you have crossed some of the lines in that area, go and do an anger management course. You're best being proactive and nipping it in the bud before you go to court than you are leaving it up to the magistrate or registrar to send you off for resolution. The more boxes you can tick off for him as being addressed or investigated, the easier it will be for him to do his job and provide a better outcome for you.
If you walk in there with a question mark over your head, you risk getting a overcautious outcome on an interim basis. If you address all the concerns with evidence or supporting documentation from qualified experts or professionals, then the magistrate/senior registrar might feel more comfortable with giving you an outcome that sits on the best possible result for you.