Hi and welcome to YT. You will learn a lot on here - just like I did. Well, for one - you are not suppose to yell at them and you are not suppose to put their nose in it. There is this great website that gives a lot of terrific and valuable information as how to housebreak. It is:
www.thehousebreakingbible.com. At 4 months, she is now beginning to be able to have control of her bladder. My yorkie was 8 months old before she was 100% paper trained. She is fantastic and does not have any accidents - and my house is very large - but she still knows where she is suppose to go. Good luck to you.