In the state of California, prostitution falls under Penal Code 647(b). It states that engaging in, soliciting, or pandering any form of prostitution is illegal. It is a misdemeanor, but covers many potential punishments. How you were involved in the arrest will impact the type of conviction you may face. In most cases, individuals will face upwards of 6 months in county jail with at least a $1000 fine. But, if the act took place in a car or involved a minor, you may be looking at higher penalties.
For every prior prostitution offense you have on your record, your current charge will increase. If this is your second offense, you could be facing a mandatory 45 days in county jail and higher fines.