Sorry to hear about what happened, but just like what others have said, u shouldn't blame urself. There are things that's out of our control and no matter how you try or avoid things, it just happen and there's nothing u can do about it.

Just don't loose hope and keep trying again. Hope you feel better soon, and if you find it hard to cope your GP should be able to refer you for counseling?