Ecstasy is an unusual drug because it has effects on the brain that develop and persist for a short time after the drug is eliminated from the body. <span>These often include the development of depression-like feelings, anxiety, restlessness, irritability, and sleep disturbances. It's not something people should use unless they have to! </span>
I don't know about social cognitive theory, but three factors I believe are:
Family
Friends
Experiences
Hope this helps