Have you responded to the order in any way?
A non mol cannot be granted just like that, there has to be just cause for it and often documented evidence of some kind of harassment, intimidation, threat, actual harm, physical violence or psychological abuse towards the person who has requested the order or, if there are involved, then harm towards them.
It involves a very detailed Witness Statement that is submitted to a Family Court judge and it must include any and all documentary evidence such as visits to the GP, Police involvement or any agencies that are accessed for support. A person who submits such an application has to swear to the accuracy of what they are stating or face prosecution should it transpire that they were lying. It is a very, very serious process.
Courts often want to hear from both parties to ensure that they have everything balanced before granting an order, especially where there is uncertainty of any kind. Your partner has applied for this order ex parte meaning you haven't been notified before the order has been granted because the Courts have deemed it unsafe for your partner for you to know in advance, which further means that the Courts have taken her allegations very seriously.
Do you have any previous history?
You can request a Return Hearing where you go and argue your case for why the order should not be applied and further should be lifted.
You can also request what is called an Undertaking which is essentially you promising to adhere to certain rules set by the Court with your partners consent. It is less formal and less serious than a non mol but carries the same penalties of breach; which brings me the point that you should NOT under any circumstances breach the current order as it is seen as a criminal offence, you will be arrested and you can be sent to prison for a maximum of 5 years.
Finally, get some sound legal advice and if you cannot communicate with your partner directly, look into Mediation. As much as this sucks, you're pretty much powerless at this stage to do anything about until the Courts have followed due process.