Sudden onset of Pain may be just muscular due to jerk, sudden bending or may be nerve compression , specially if radiating to leg....
It can be due to calculi ,if associated urinary symptoms.
Both need radiological investigation.
Next Steps
consult orthopedic or urologist as per symptoms
Health Tips
take rest.
Tab ultracet stat for symptomatic relief.( if not allergic)