I see that you mentioned you are not the defendant in this case ..so I'm going to assume it's a criminal case since I haven't yet heard back from you yet, and send you the appropriate information.
The no contact order in a criminal case can only be lifted by the judge who is overseeing the case, it is 100% in that judge's discretion.
The judge usually won't lift the no contact order very early on in the case, because he/she usually wants to wait and learn a bit more about what happened, and see how the case unfolds so they can make a more informed decision.
The no contact order is in place to protect the alleged victim in the case, so for the most part judges tend to stick to the side of caution and wait until the case progresses a little further before lifting the order.
That being said, in order to have it lifted, the alleged victim in the case needs to make an appearance in court and let the judge know that they would like the no contact order removed. The judge will then ask the victim questions pertaining to whether they feel safe, whether the alleged battery or assault took place, what the victim feels has changed, etc.
The defense attorney can also file a Motion requesting that the order be lifted, but the judge will still want to hear from the victim in the case before they will grant the removal of the order.
I hope that helps!
Please let me know if you have any other questions. Also, please take a moment to rate me using the stars at the top of the page, as it's the only way experts are compensated for our time on the site. I do not receive a salary here at JustAnswer, and am only compensated for my time after receiving a rating of 3 stars or more (5 stars are always appreciated). The question won't close after rating, so you can still ask follow-up questions after. Thanks, ***** ***** it!