At the risk of sounding obvious, the time to worry about having a crime on your record is before you commit it.