If the pain is severe, it might get in the way of your daily activities. You might have to undergo a lot of medical tests to find the cause of the pain. The treatment will depend on the cause, how bad the pain is and how often it happens.