I would first take her to the vet to rule out any sort of infection. Have there been any major changes in your home recently? Someone moved in/moved out, a big party, lots of thunderstorms or things like that? Some dogs are very sensitive to change and it can seemingly undo housebreaking, when in reality the dogs are nervous and confused.