hello sudden onset of pain cab be anything from pulled muscle to a kidney infection.you don,t give much info.
did you lift something heavy,
urinating more than usual or on any new medication?
the mosre information you give the better we can help you and advise what to do.