I accidentally left a tampon in for DAYS

I’m freaking out, I literally had a tampon in for 4-6 DAYS. Do I need to go to the doctor??? There’s no bad smell, and the blood on it was brown. I had sepsis once in my uterus due to a miscarriage and this is making me panic. I tried googling it but I nothing really came up. What do I do!?