There are a few different possible causes to symptoms, but the most likely cause is a urinary tract infection. I recommend that you schedule an appointment with your primary care physician
. This is a kind of infection that occurs when bacteria from the outside of the body make their way up the urethra and into the bladder and replicate causing an infection. The typical symptoms of a urinary tract infection include burning with urination, urinary urgency and frequency, fever, and pelvic pain. If the infection travels up the ureters towards the kidneys than it can also cause back and flank pain. I worry
that your side pain is actually a symptom of this kidney infection that we call pyelonephritis. Excessive sweating is certainly something that can occur in people that have fevers and a headache is a common symptom in anyone that is sick. Thus I would suggest that you schedule an appointment with you primary care physician. He or she will be able to perform a urinalysis in the office which can help determine whether or not you have an infection. If pyelonephritis suspected, your doctor
might send you to the emergency department to be admitted to the hospital for IV antibiotics. People with this type of infection generally also require a renal ultrasound which is a imaging study that looks for pyelonephritis or an abscess that might be caused by pyelonephritis. In either case, you definitely need to be evaluated. Good luck.