Hurt during it

The other day while haveing sex I had pain in my lower abdomen. My boyfriend and I DIDNT think anything of it other then I pulled a muscle when I was moving stuff while cleaning. But then a few days later it came back in the same spot but it spread around a little. Does anyone know if it’s serious or have an idea