Should I be worried?

Yesterday was the last day of my period and I wore a tampon and I forgot I had it in until this morning. I slept with it and wore it all day. Should I be okay? Do I need to worry about anything?