Pain during sex

My boyfriend and I were having sex and it hurt in my lower stomach he doesn’t have a big dick it’s like 5-6 It doesn’t happen all the time just a few day a month.... idk what it is