There are many ways, for example, if a matter is dropped or dismissed, it is off one’s record; if the person is acquitted a trial, then the person would not have a criminal record. Another way to keep something off one's record is to be granted a diversionary program that is successfully completed; please note that these diversionary programs only apply to specific offenses.   If one has a criminal record, they may be able to have their recorded clear completely by being granted an Absolute Pardon. The pardon process is involved and is best handled by an attorney.