Punishment for crimes depends on how serious the crime is. Petty offences can usually be handled in one appearance. The sentence imposed may be a fine. Misdemeanors are more serious than petty offences and carry larger fines and a possible jail sentence. A felony is more serious than a misdemeanor and may result in imprisonment for a term exceeding one year.
Substantive law determines the outcome of a case based on the facts.
Procedural law determines the rules to be used to resolve the case. Different categories of crimes result in different punishment and not surprisingly have different procedural rules. More serious crimes have more complicated rules. If you are arrested you have the right to speak to an attorney before talking to the police. You may have other rights guaranteed by the Constitution.