When we ask the Lord for forgiveness, He is just and faithful to forgive us from our sins. Does this mean it’s okay to do the same sin over and over again? No. The Lord wants us to make an effort to stop doing that which is wrong. If we find this difficult, for example, giving into a particular temptation, we need to ask for the Lord to help us.
Wash yourselves; make yourselves clean;
remove the evil of your deeds from before my eyes;
cease to do evil.
ISAIAH 1:16 (ESV)