Tampons and peeing

Do you pee with your tampon in and then leave it in? Or do you take it out when you pee and replace it.