Random pain

I’m having side pains, the pain starts on one side hurts for a little while than goes to the other side and I’m having lower back pain as well any idea what it might be?