Hi Jenna,
The best thing you can do is have her spayed.
Do you walk her at least 45 minutes every day? Dogs need lots of exercise, and time to release all their energy. It will help with the housetraining, and getting back into the routine of going outside.
Also, please ask your Vet these questions, and get his/her advice.
Here is some more info, if interested:
I highly recommend a video by Ceaser Millan, a Professional Dog Behaviorist. He rehabilitates dogs, and trains people.
He has his own TV program, the Dog Whisperer, on the NGEO (National Geographic) channel, on Friday nights mainly, but also comes on some other days. This video is available from:
http://www.dogpsychologycenter.com/
I also ordered his new book, "Ceaser's Way", from Walmart online, around $15 US, and it's very good!
There are other good videos available on the web, but this one is really worth your attention.
Please take her to the Vet. It could be a urinary tract infection.
Best of luck.