The criminal court procedure or the criminal process in Pennsylvania to put simply would be a person would be investigated by applicable law enforcement. The Commonwealth of Pennsylvania charges would be followed. A person would be arrested, or a person can, say, surrender. There would be a preliminary arraignment where bail would be set in part, thereafter, the matter would be scheduled for court proceedings, further court proceedings, such as a preliminary hearing, or say Philadelphia operates differently than the Pennsylvania counties where Philadelphia has a municipal court and a municipal court arraignment and a municipal court process. Whereas Pennsylvania counties would have either a summary trial for summary offenses or a preliminary hearing for cases involving misdemeanors and felonies.
After the case proceeds beyond a certain point, there would be a formal arrangement where the court would go to the court of common pleas in the Pennsylvania counties, or if there's a preliminary hearing in Philadelphia and charges are held for court, it would then go to the formal arraignment then to the court of common pleas. There would be pretrial conferences, potential status listings, and so forth where the case would either track towards trial, be it before a judge or a jury, or there would be say a non-trial disposition such as a negotiated or an open, guilty plea.
There's multiple steps in the criminal process in Pennsylvania. Having an experienced Pennsylvania criminal defense attorney will be your best ally to help you understand the process and to protect your rights and interests. They should be involved from as early as possible in the process.