No one expects you to just stop your infatuation and lust for him in a day. Like any drug of choice that one gets addicted to, it takes a while to get the toxic out of your system so that you're no longer feeling the physical withdrawl. Once the "stuff" is out of your system, then it's the psychological aspects that you'll be dealing with.
That's where ZERO contact and exchanging one bad habit for a good one comes in.
You'll be fine once you accept you're better off without being one of many, that sex isn't love, that "looks" of passion are not true feelings and that a guy that doesn't do anything with you to advance the relationship past sex isn't in love with you.
Work on acceptance and the stage of indifference to him will follow more quickly.
“The willingness to accept responsibility for one’s own life is the source from which self-respect springs.” ~Joan Didion