Thank you for your question and welcome to JustAnswer.com.
Criminal Trespass itself is merely a summary offense.
Defiant Trespass under 18 Pa.C.S.A.§3503(b) carries a variety of possible punishments depending on the circumstances of the trespass.
"Except as provided in paragraph (1)(v), an offense under this subsection constitutes a misdemeanor
of the third degree if the offender defies an order to leave personally communicated to him by the owner of the premises or other authorized person. An offense under paragraph (1)(v) constitutes a misdemeanor of the first degree. Otherwise it is a summary offense."
Unless you have an awful record, you are looking at a period of probation
for these offenses.
If you require more information, I will be happy to follow up with you. In the meantime, please remember to click Accept so that I get credit for my time assisting you. If my answer has been especially helpful, please also consider a suitable BONUS.
And remember, I want you satisfied, so if I can help you further, please ask so that you can provide Positive Feedback once we've addressed your legal question to your satisfaction.