Hoggbond
If you are using the No to stop action that is one thing.. it not working as you have stoped the action but not replaced it with what you want the dog to do.
If your yelling to punish you are reinforcing the wrong thing and getting more of it insted of less.
Ignore the pee one the floor take dog outside and or put in a differnt room and clean up and try again.
I going to link you to a great article and site for all things training related and more so potty training fact sheet of a sort.
ClickerSolutions Training Articles -- Housetraining Your Puppy
JL