Agree with dr bozak, and would add that if this has been going on for more than a few weks you should find the cuase and treat it.
You must participate in your recovery - so bed rest is not the answer. You may need xrays or MRI
to find the cause, and as a last resort surgery may be indicate. Seek advice from a pain management
specialist if the pain continues.