In many countries the first time offender 20-something would spend a night in jail, be arraigned the next day, and likely enter a diversionary process where they need to face up to what they did. Perhaps a conference with the victim. Do some community service. Etc. 9/10 this will give someone the chance to seriously rethink their behavior.