I have social phobia and this happens to me a lot. But I think it happens to everyone sometimes when we're stressed or having a lot going on in our lives... sometimes we just feel very vulnerable, I guess.
Don't worry

It sucks, but hopefully it won't happen again.
Take care