Friend, vomiting and diarrhea can be caused by many different conditions. It will be difficult for me to determine the exact underlying cause without a hands on examination and some testing. But, in a puppy common causes are: Dietary indiscretion, intestinal parasites, ingestion of a foreign body, infections (parvo), etc. to name a few causes. Regardless of the cause if she has been vomiting for 4 days I am really concern about her hydration. I would strongly recommend having her checked by a veterinarian to start her on IV fluids, anti emetics, etc. while vet does some testing (xrays and blood work) to try to determine the exact underlying cause of the vomiting and diarrhea. In the meantime this is what you can do:
1- Do not give things like Pepto Bismol or imodium. Start her on Pepcid AC (famotidine) 10mg tablet every 12 hours. You can buy Pepcid AC over the counter in any pharmacy.
2- No food or water for 4-6 hours. Need to give her gastrointestinal tract time to rest. So that when you do offer water she is able to keep it down.
3- After 4-6 hours offer a small amount of water. Wait half hour, if no vomiting, offer small amount of rice (50%) and boiled boneless chicken or ground beef (50%) 4-6 times a day.
4- Follow up with your family veterinarian for a hands on examination, xrays and supportive care. If cost is a concern look into your local ASPCA or Shelter where they often offer veterinary services at a lower cost.
Please do not forget to rate my answer - I hope you found it to be excellent. If there’s more I can do, please use the reply tab and let me know. It’s my goal to provide you with excellent service." Thank you for your business and I hope to work with you again soon!