first time wearing a tampon

How long do u keep a tampon in for ? It's my first time and I'm anxious cause it my first day using it while I'm in school.