Why does my back hurt so much?

I know back pain is related to periods and I am bleeding. But lately my back had been hurting (sore) and my neck. I think it's the way a sleep and being so physically active idk?