Weed bust

I got pulled over and was given a minor misdemeanor and fourth degree misdemeanor for having about 8 grams of weed and my pipe and grinder in my car, am I screwed? This was in miamisburg around Dayton