Stop "yelling at her"! Puppies don't come trained that's your responsibility.
Constant supervision, contain only when you can't, immediate correction when caught in the act, not after the fact, supply sufficient daily elimination times outdoors, every 1-2 hours, 30-40 minutes each time.
Training requires a lot of patience, consistency, diligence, time, regardless of weather conditions, how you maybe feeling (tired/sick/busy), and other obligations such as school, homework, extracurricular activities, childcare (if applicable), household chores, work and social life.
Once trained you must still enforce what was taught on the daily basis for the life of the dog, 12-17 years.
Proper feeding may help determine elimination times.
http://i40.photobucket.com/albums/e224/GLLNTKNIGHT/feeding_zps90a9666f.jpg
http://i40.photobucket.com/albums/e224/GLLNTKNIGHT/pottyjpg1_zps0bd4f0ba.jpg
http://i40.photobucket.com/albums/e224/GLLNTKNIGHT/exercise1_zpsfb9dd351.jpg
http://i40.photobucket.com/albums/e224/GLLNTKNIGHT/carpeturine_zps07ea7542.jpg