She should see a doctor. It does not necessarily sound like she got pregnant the last time you had unprotected sex, the symptoms would not come up that quickly if that is the cause of the pain. This does not rule out pregnancy from earlier sex, and she might have an infection. The doctor can tell her what is going on.