When to call dr for back pain

I'm 22 weeks pregnant and around 2 today I started having back pain I was up on my feet a lot today. I have been resting and it has helped somebut the back pain is still severe when should I worry and call my Dr? I'm a FTM