forgiveness for past sin

Years ago, I was going through a tough season and fell into temptation and engaged in some self pleasuring behaviors.  It is long past, but I still wanted to ask God to forgive me.