I have been having bad hot flashes getting nausas and having sharp pains in my side what could it be? I am female and only 24 years old

If . If there is any possibility of pregnancy, then you need to take a pregnancy test. Another possibility would be an ovarian cyst or a urinary tract infection or stone. If the pain is persistent, if you have vomiting, fever, or worsening pain, then you need to be seen as an emergency.