How do you know when to take out a tampon?

I’ve been using tampons for awhile now but I never end up knowing when to take them out, I usually remove them when they aren’t full yet. Any tips?!