Acts 3:17 Yet now, brethren, I know that you did it in ignorance, as did also your rulers.
Just because you have done something wrong does not mean it is going to be a black mark against you for the rest of your life.
God is always willing to forgive you when you are willing to admit to your faults and to genuinely ask for that forgiveness!
What do you do when you find out something you have always done is actually wrong? I hope you try to give up doing whatever it is!
Trust in your holy, merciful God who is able and willing to forgive you for anything and everything.