"But I say, walk by the Spirit, and you will not gratify the desires of the flesh."

-Galatians 5:16

Focus on being in the presence of God, not on "not sinning". Focusing on not sinning and breeding anxiety about "not sinning" just creates the sin of worry, and will make you exhausted. Make provisions so that you can keep yourself pure, but focus mainly on Jesus Christ, and in walking in scripture, prayer, and fellowship with serious believers, and sin will have no room to creep in.