Yup, when it rains it pours. No matter how hard you try, you can't plan life. It just kind of has a way of sneaking up behind you and changing your plans.
Don't worry, it will all get better. And then worse. And then better. Forever. That's how it goes.