Prior to an arrest and prior to the prosecutor filing a formal charge against you, there will likely be an investigation by a police agency. It is important to secure legal counsel if you know or suspect that you are being charged with a crime. An attorney many times can talk to the police and the prosecutor and try to influence there decision making process on the case. The attorney could possibly convince the prosecutor to reject the case completed and thus no formal charges would be filed against you. Or, the attorney could convince the prosecutor to file misdemeanor charges as opposed to a felony charge. In addition, your attorney could seek an bail reduction or even get you released on your own personal promise to appear (release on own recognizance). This could avoid the embarrassment of being arrested at your work in front of your co-workers, or at home in front of your family and neighbors. There are many things an experienced criminal defense attorney could do prior to any charges being filed.