If you had sex with a minor and your age is significantly older, depending upon whom you hire, your prior record, the request of the victim and his/her family, incarceration might ensue.
Your question requires an attorney consultation. It is not a simple question that can be answered in a forum.
There are many factors that would need to be considered and evaluated.
I strongly suggest that you contact an experienced criminal law attorney for a face-to-face consultation and give him/her all of the facts surrounding your arrest.
If you are 18 or older and had sex with a minor, jail/prison is a likelihood but I do not know California law. Post it again in CA and include your age.
Consumers can use this platform to pose legal questions to real lawyers and receive free insights.
Participating legal professionals get the opportunity to speak directly with people who may need their services, as well as enhance their standing in the Lawyers.com community.