Tampons

What is the average amount of time you should keep in a regular sized tampon? I'm new to tampons and I don't want to keep it in too long but I don't want to take it out too early either. Help!