You mean, after a guilty plea? After both a plea and sentencing?

If you are serious, you should consult a lawyer to help you. Getting a court to set aside a guilty plea is usually an uphill battle.