Of course you're going to get your heart broken.
And it isn't gonna happen just once, it's going to happen a lot. That's just one part of growing up, and it makes you stronger. Then you'll be able to handle it better next time. You might not get through it alone, but your friends will help you through it. You'll become a stronger person because of it. One day, someone will come along, and it'll all pay off and no one will ever break your heart again.