First ever miscarriage 😪

Had a miscarriage yesterday. Feeling pretty devastated! 😪 God has a plan I know. Wish I knew what it was! 😭 I'm at work trying to stay positive but I just find myself crying randomly. I told everyone I work with and it's like every time it comes out of my mouth that I miscarried I just loose it. How long will this last? 😭