I gathered the following ways to resist temptation:
An eternal perspective is an ever developing point of view, considering the long term affects of one's actions.
The doctrine of Christ is the plan of Salvation, Godhead, and atonement of Jesus Christ. Eternal perspectives are more fruitful, when it is based on the doctrine of Christ and truth.
It is hard to even recognize temptation, if an individual does not remember the commandments. "The Comforter, which is the Holy Ghost, whom the Father will send in my name, he shall teach you all things, and bring all things to your remembrance, whatsoever I have said unto you." (John 11:26) The Spirit will help you remember the commandments in time of temptation; however, verbalizing it like Christ can be a strength.