I hate when this happens. I have to be really careful when I bend over or this will happen to me. There have been times when I get stuck on the toilet and can't use my back to get up. I have had to have hubby come and help.
There's really nothing that can be done except resting it and learning to do stretches to help strengthen the muscles.
I think spending money on a doc is not really necessary unless it is something you feel needs a doc to say use ice or heat and rest. The only other thing the doc might do is send you to Physical Therapy for massages and learning the stretching exercises.
Anti-inflammatory drugs will help too. I can't take them due to breathing issues. I take muscle relaxants when I am hurting.