For the cookie dough to stick together, the correct ratio of dry and wet ingredients is important. If you feel that your cookie dough is still very dry and the oats don't stick together properly, add 1-2 tbsp more milk. It's also crucial that you gently press together the ingredients using your hands so that the peanut butter gets mixed in properly and a sticky mass forms.