What you have described seems like SCIATICA. There are many causes for Sciatica, from simple muscle sprain or spasm to disc bulge causing nerve compression.
Next Steps
Take mild anelgesics with Antacid and rest.
Health Tips
If pain persists beyond 3 days then consult a Neurospine specialist.