Sorry to hear what happened man, it's never fun. However, such is life.
I can assure you that once you get over this and you find someone else, chances are they won't be the one either, nor the one after that (rinse and repeat). Yet, all these experiences of being with other people will help shape you as a person (hopefully for the better) and it will help you understand what it is to have someone that you can spend your life with when you finally meet them.
Obviously some people find "the one" sooner than others, and if you are that person then you are lucky. If not, don't get discouraged it will come when the time is ready. In the meantime, I know you said you are shy but being a young person just get out there and have some fun, don't go in with the intention of finding a partner. You will have the rest of your adult life to have a stable partner but you can only be young and frivolous once