If it's happening right after exercise or excitement chances are she's gulping a lot of air down with the water and just needs to calm down/cool down a bit before being offered a drink. But given that you've stated "for 3 days off and on", I'm guessing that's not the case so I'll offer another opinion.
The obvious answer is... Your dog in nauseous, and so when she drinks it upsets her tummy that much more and gives her something else to throw up. As to why her stomach is upset... The possibilities are varied and many. The easy/safe answer is... Take her to the vet, always good to err on the side of caution if you can afford to. The answer I think you're looking for is... It's probably just simple gastritis caused by something she ate that she shouldn't have, or a minor virus, and chances are she'll be just fine in a few days. If she's acting fairly normally aside from the vomiting you can give her Pepcid for a couple of days to help settle her stomach. The typical dose administered is 0.25 to 0.5 mg per pound (0.5 to 1.0 mg/kg) every 12 to 24 hours. If however, there is blood in the vomit or your dog is in obvious abdominal pain, or seems particularly depressed or weak, has a fever, or retches unproductively, you need to seek professional help... Hope she's doing better soon.
The obvious answer is... Your dog in nauseous, and so when she drinks it upsets her tummy that much more and gives her something else to throw up. As to why her stomach is upset... The possibilities are varied and many. The easy/safe answer is... Take her to the vet, always good to err on the side of caution if you can afford to. The answer I think you're looking for is... It's probably just simple gastritis caused by something she ate that she shouldn't have, or a minor virus, and chances are she'll be just fine in a few days. If she's acting fairly normally aside from the vomiting you can give her Pepcid for a couple of days to help settle her stomach. The typical dose administered is 0.25 to 0.5 mg per pound (0.5 to 1.0 mg/kg) every 12 to 24 hours. If however, there is blood in the vomit or your dog is in obvious abdominal pain, or seems particularly depressed or weak, has a fever, or retches unproductively, you need to seek professional help... Hope she's doing better soon.