Tampons

I’m 16 and I’m using my first tampon ever and I have a few questions... how does this thing work exactly? I’m not sure I put it in correctly and it feels uncomfortable and a bit painful... is this normal for the first time and does it eventually feel better?