Tampons make my flow stop?

Ever since I first got my period I have used tampons, no matter how heavy my flow is if I put in a tampon it lightens or stops for a while after I’ve taken it out does anyone know why