Breastfeeding please help

Pushpa
I'm breast feeding my baby who is 7 weeks now. It's been about 2 weeks that when she's feeding she will in an instant start crying and throw her head back and then suddenly stop crying when she has nipple in mouth, but then she will repeat again.  I don't know why she does this. One time she was like this for an hour. What could this mean