The Prophet Muhammad (Allah bless him & give him peace) said, “The one who repents from sin is like the one who never sinned.”
As long as a muslim asks for forgiveness then he/she is in a good condition. Even disliking the sin is a good sign, a person should try to remove themselves from that situtation or circumstance, if they are able to.
A Muslim flies with two wings one of hope and one of fear, we fear not to commit sins and we hope to be forgiven if we do.
The conditions for repentance are:
1. Leaving the sin;
2. Remorse over having committed the sin;
3. Resolve never to return to the sin;
4. Return the rights or property one wrongly took - this depends on circumstances.