Your symptoms suggest lower back spasm .
This may be due to gymming, trauma, unaccustomed work, lifting heavy weights, spine pathology etc.
Hot water compression thrice daily locally, absolute bed rest and medications like Etova MR will help.
Next Steps
visit an orthopaedic surgeon for X-rays, MRI
Health Tips
do take strict bed rest as it is prime in your recovery.