Sex offenses are a particularly difficult area of the law. As a society, we hold little regard for those who are accused and many people automatically believe the person is guilty just for being arrested. In reality, many cases are the result of custody disputes and family situations that have spiraled out of control.
In any event, a conviction for a sex crime carries significant prison time in most cases and will put the person on the sex offender registry for life. Many crimes also fall under the sexually violent predator's act where a person can be held for treatment even after his or her sentence is over if he or she meets certain criteria.
Don't go it alone. Get experience on your side. Many cases cross the court system from criminal and family courts. Make sure you get someone who know the interaction and how to best leverage your position across the court system.
Most sex crimes require sex offender registry for life. Depending on the nature of the offense and the evidence in the case, it may be possible to avoid registry in some cases.