To distract yourself from cravings, engage in alternative activities such as walking, talking to someone, or participating in hobbies or interests you enjoy. These activities can help take your mind off the urge to use drugs and provide a healthy outlet for stress relief.