Assuming you're talking about a Protection from Abuse order, the procedure is to file a petition under the Act, have a judge review it, serve it on the other party,and go to the court hearing. If you're a defendant in such a case, and you've been served but don't come to the court hearing, just as my colleague said, you'll likely have an order entered against you.
Be sure to click Best Answer if you found this helpful. Disclaimer: Please note that this response does not in any way an attorney-client relationship between Kathryn L. Hilbush and the recipient. My responses are general in nature. They do not constitute legal advice. You are advised to consult an attorney regarding this and any other legal matters.
Pennsylvania does not have restraining orders. We have Protection from Abuse orders. At a hearing you will be given the opportunity to enter into an agreement or present your side of the story. A judge will then decide whether the petitioner has presented sufficient evidence that a PFA is warranted.
If you have been served and you do not show up, you risk that a final PFA will be granted against you and a warrant may be issued for your arrest.
You can learn more about the PFA process here: http://www.theharrisburglawyers.com/2013/02/pfa-court-a-system-ripe-for-abuse/