is it worth the risk?

So this may be a dumb question but is it alright to wear a tampon over night, I only just swapped over from pads so I'm not really sure 
Thanks xx