Google or Wiki have links / articles on most aspects of law, which may serve as a guideline.
Or consult a lawyer (may be expensive) but should have an interest in your dilemma.
If you're the accused / defendant and are budgeting, a public defender is the cheap option.