If you are unwilling to solve your own problem then what is the point of asking for advice. 

You get drunk (so stop drinking) and you send this dude unsolicited texts you don't want to send (so stop texting).