The law enforcement agency in charge investigates the case and then decides what action to take. They might give a ticket, arrest the person, or send the case to the prosecutor for review.
If the prosecutor decides a crime was committed, they will file official charges in District Court.