Anxiety attack

Here I am up at almost 3 am having the worst thoughts. I'm 5w2d and cant help but think something is gonna go wrong. When should I worry about a miscarriage? Signs and symptoms?