Are you having her off leash outside?
With ours, we always had them leashed. I’d stand in the same spot and tell them to “go potty” and didn’t move until they went. We would take them out every hour (just about) when they were young, and gradually spaced it apart.
One thing some people do is install a bell (like a jingle bell on a string) at the door. Whenever you take the dog out, have them tap the bell (even if you are the one doing the action with them). They will leave to ring the bell when they need to go out. We never did this, but I have friends that have.
Have patience. Accidents will happen – even when ours was 8 months, we still have an accident (rarely, but it happened). You need to start noticing signs that they need to go out – like circling, sniffing, and other actions your dog may do just before they go. It’s not the dogs fault for the accident, but the owners for not paying attention to the signals they were giving off.
With our first dog, it took until he was about 4 months to fully get it, and the second dog was even quicker to learn since he had someone to teach him.
Crate training is essential! We crate whenever we go out (and still do, as the one is just a year old and the other is almost 2 – he gets ‘roam of an area’ right now), and this helps with training them to hold their bladder. They do not want to soil their home. As soon as we got home, I’d pick the puppy up and take them right outside. Gradually, I was able to leash and walk them out, but originally if I let them out of the crate, they would just go on the floor.
You can crate them at night, or put a dog bed on the floor and train them to sleep there. We always let ours in the bed – the one sleeps between us, and the other now sleeps on his dog bed (thankfully, he’s over 80lbs). He just moved off the bed one day. I’m not a fan of crating at night, since I’m not home during the day I feel guilty leaving them in a crate at night.
Also – if you are working, don’t leave the puppy in a crate all day. Someone needs to come home half way through the day to let it out. I always went home at lunch, and when they were 8-10 weeks, I went in a little later than my FI, came home at lunch, and either he came home before me or I just came home early. Leaving them for too long and having them hold it the entire time can cause damage. I didn’t start leaving our dogs for the entire work day until our one was around 8 months old. I still sometimes go home at lunch if I’m feeling up to it.