Some people say that they can not know whether they are unwittingly, unknowingly sinning against God. That is not true because the Holy Spirit convicts each and every person, the whole world, of sin, righteousness and judgment. We need to be sensitive to the voice of the Holy Spirit convicting us and we must mend our ways. We must focus on Jesus and ask Him to examine us, to convict us, to show us what there is in us that He is not pleased with.
If we are serious about our relationship with Jesus Christ and want to be pleasing to God then we will be sensitive to the Holy Spirit and and we WILL NOT SIN. We will DO what is pleasing to Him.
May Jesus bless you.