The first gift that Adam and Eve received was agency: โThou mayest choose for thyself, for it is given unto theeโ (Moses 3:17). You have that same agency. Use it wisely to deny acting on any impure impulse or unholy temptation that may come into your mind. Just do not go there, and if you are already there, come back out of it. โDeny yourselves of all ungodlinessโ (Moroni 10:32).
Boyd K. PackerThe voice of the Spirit is described in the scriptures as being neither loud nor harsh, not a voice of thunder, neither a voice of great tumultuous noise, but rather as still and small, of perfect mildness, as if it had been a whisper, and it can pierce even the very soul and cause the heart to burn. The Spirit does not get our attention by shouting.
Boyd K. Packer