Spasms

My baby seems to be having these spasms she’s 7 months and it’s starting to worry me she just brings head close to her shoulder it only last for like a seconds has anyone else baby done this ? I’m going to call her pediatrician just to make sure she’s ok 😢