breastfeeding

Nichole
So I am having a hard time breastfeeding it seems like as soon as my son attaches his head Bob's back and forth off of my nipple and he gets very frustrated please help what do I do and what does this mean