To clear your criminal record in Pennsylvania, you would need to be eligible for the appropriate relief, whether it's an expungement, a partial expungement also known as a redaction, or a record sealing, or relief under limited access. It's nuanced in the sense of the eligibility requirements a misdemeanor or a felony cannot be expunged in Pennsylvania unless somebody is 70 years of age or deceased and other conditions are met.
Many misdemeanors can be sealed in Pennsylvania if a person has, at a minimum, remained arrest and prosecution free for at least 10 years from the time the case came to a complete end. Summary offenses in Pennsylvania would be eligible for an expungement if the person has remained arrest and prosecution free for five years.
There's various circumstances and considerations in terms of a person's eligibility for the appropriate record relief. Having an experienced Pennsylvania criminal defense attorney will help you understand your eligibility and would be able to guide you accordingly and speak to best steps forward.