How often do you put baby in swing?

My baby is 7 weeks old and I just got a swing a few days ago. I don’t want to feel like my baby is spending too much time in it. I know it says not to use it more than an hour a day. But how long do you typically put your baby in it?