help me

So I am on my last day of my period and I had a tampon in. I smelled something funky and decided to change it. I pulled it out and it was soaked with this light yellow liquid that was not urine. The smell was reached. I literally wanted to throw up. It smelled so bad. What could this be? Is it normal?