The cost for consulting a lawyer can vary from lawyer to lawyer and what type of case you're consulting the lawyer for.
Some lawyers may allow you to consult them for free while others may charge $50.00 $200.00 and even $1,0000.00 for the lawyer consultation.
Lawyer fees can then range from $50.00 to $1,000.00 per hour depending on the case the lawyer is working on and what there fees are.
When going to court over something serious such as avoiding prison time then consulting and hiring a lawyer if possible is a good idea.