"In our individual study and classroom instruction, we repeatedly emphasize the importance of recognizing the inspiration and promptings we receive from the Spirit of the Lord. And such an approach is correct and useful. We should seek diligently to recognize and respond to promptings as they come to us. However, an important aspect of baptism by the Spirit may frequently be overlooked in our spiritual development.
We should also endeavor to discern when we 'withdraw [ourselves] from the Spirit of the Lord, that it may have no place in [us] to guide [us] in wisdom's paths that [we] may be blessed, prospered, and preserved' (Mosiah 2:36). Precisely because the promised blessing is that we may always have His Spirit to be with us, we should attend to and learn from the choices and influences that separate us from the Holy Spirit.
The standard is clear. If something we think, see, hear, or do distances us from the Holy Ghost, then we should stop thinking, seeing, hearing, or doing that thing. If that which is intended to entertain, for example, alienates us from the Holy Spirit, then certainly that type of entertainment is not for us. Because the Spirit cannot abide that which is vulgar, crude, or immodest, then clearly such things are not for us. Because we estrange the Spirit of the Lord when we engage in activities we know we should shun, then such things definitely are not for us.
I recognize we are fallen men and women living in a mortal world and that we might not have the presence of the Holy Ghost with us every second of every minute of every hour of every day. However, the Holy Ghost can tarry with us much, if not most, of the time—and certainly the Spirit can be with us more than it is not with us. As we become ever more immersed in the Spirit of the Lord, we should strive to recognize impressions when they come and the influences or events that cause us to withdraw ourselves from the Holy Ghost.
Taking 'the Holy Spirit for [our] guide' (D&C 45:57) is possible and is essential for our spiritual growth and survival in an increasingly wicked world. Sometimes as Latter-day Saints we talk and act as though recognizing the influence of the Holy Ghost in our lives is the rare or exceptional event. We should remember, however, that the covenant promise is that we may always have His Spirit to be with us. This supernal blessing applies to every single member of the Church who has been baptized, confirmed, and instructed to 'receive the Holy Ghost.'"
David A. Bednar, April 2006 General Conference