i agree with lovemyshibas advice. don't hit a dog for its behavior. when mickey didnt pee when we took him out, we would crate him or leave him sitting by the door. then we would take him out a few min. later. reward and praise when she goes in the right spot. mickey is 5 months and potty trained but it took a lot of patience. remember when they are younger, there bladder is tiny and just by getting excited, drinking and sleeping, your pup will have to go. keep your eye on her and remmeber that once she pees on your floor, mask the scent. we used baby powder. good luck!

ps - for more "potty training" help i got my advice from this site