If you are convicted of a criminal offense, it will go on your criminal record, which can have long-lasting consequences. However, there are certain circumstances under which you may be eligible to have your record expunged or sealed.