These things will happen in life and in a way, the sooner the better because you'll have that much longer to benefit from the lessons the experiences teach you. It sounds like bullshit but the harder the experience, the more it does to prepare you for similar things going forward.