Please, please if you're going to keep having sex with him, be safe!
Just a hunch, but I'm guessing a five-day bender with junkie/dealer buddies may have included opportunities for less-than responsible sex.
As for friends with benefits with an ex you still love...you're kidding yourself, but I'm sure you know that.
Sending you a hug.