You can say to God:
I’m sorry that I haven’t treated you as my king. I’m sorry that I’ve said ‘No’ to you by not doing what you say. Thank you that you sent Jesus to die on the cross to take away my punishment. Please forgive me, and help me to live with Jesus as my king from now on.