Am I wrong for this?

My boyfriend and I have been broke up for about a month now and today I finally told him I wasn't going to be his "friend with benefits" that I wasn't going to stay there and keep hoping we would get back together when we weren't he was leading me on and I guess it all hit him he was mad and upset saying some harsh things, like I had another guy or something? he was the only one I wanted I spent 3 years of my life with him my whole highschool years and now in going to be turning 18 and I have college and all that good stuff planned. But I'm kinda worried I don't want to end up pregnant and us not even have anything to do with each other I know I want to be happy and do me I deserve it after having that bad relationship. Am I wrong for this? For wanting to do me after he left me. idk I'm all types of emotionally confused I really do love him I just want to be happy