Can I or no?!!

I put a restriction order on ex boyfriend & I have a hearing appointment. Can I cancel or have the restriction order dismiss before the hearing? What can I do & what can I say to dismiss/ cancel I made a mistake base on the moment of anger..?!?!