do you go to jail or prison for a misdemeanor
By definition, a Class A Misdemeanor is punishable by up to one year in jail; and a Class B Misdemeanor is punishable by up to 90 days in jail. In reference to your written confession, this will be the subject of a pre-trial suppression hearing if the case is moving toward trial.