Help! 5 Weeks and 4 days.. am i having a miscarriage?!

TMI.. I’m sorry for the picture, but I’m so worried and wanted some opinions. I’ve been having a bit of light brown and pink discharge the last few days. Along with mild pelvic pain on my right side. Idk what to do, I so badly want my baby to be okay. Please tell me what you think and if you have experienced this and what the outcome was. Thank you all in advance.

This picture is some discharge that came out while I was peeing.

Update:

Thank you all so much for your helpful information. I am eternally grateful! 😊I am feeling a lot better. I’m such a worrier and want everything to be okay.