Tampons

So I recently saw multiple girls in my school use tampons. But I herd that u shouldn’t use a tampon unless u had sex and i tried using it for sports reasons but it hurts like hell because I’m still a teen and not planning on having sex soon is this true about tampons ?