Pulling off and latching back

Hi my daughter is 2 months and from birth has been great at nursing. Lately however she has been latching on but pulling off after a few sucks then latching right back on and repeats. She doesn’t do it at every feeding but every once in a while. Its frustrating for the both of us. Any suggestions would be appreciated!