You are physically addicted to something when you show signs of withdrawl, such as moodiness, shaking, sweating, and headaches. Thinking about something a lot could mean you are psychologically addicted, if not having the substance causes you to feel agitated or anxious.
Simply thinking about it does not necessarily mean you have an addiction.