Confession is telling God that you know what you did was wrong. It’s agreeing with God that it was a sin. Repentance is being sad about that sin and doing your best not to sin again. Read 1 John 1:9 and Acts 3:19 to find out what wonderful thing happens when you confess and repent.