There is probably nothing to worry about but you should immediately seek medical advice from your vet to find out what the situation is. Your dog should be fine as this could just be something they've eaten coming back up. Try to remember what it has eaten. Ensure the dog is well hydrated and lay your pet down somewhere soft. Make sure your dog is still able to walk around a little bit and do not under any circumstances feed it anything.
There could be a number of different reasons for the foam including things such as ingesting something toxic, an obstruction somewhere, or even bloating or an allergic reaction to something in its food. It could also be grass as dogs like to chew grass much like cows. It is not uncommon for dogs to swallow grass as it makes them vomit - a defence mechanism should they feel they have eaten something bad.
The best course of action is to keep your dog warm, hydrated and comfortable, and to call a vet immediately. There aren't many major problems that come from vomiting stomach bile, but it will soften her throat, and if your dog does vomit a lot it could lead to burning of the oesophagus. It is probably some sort of intolerance to food but if in any doubt make sure your dog is well looked after and make an appointment to see the vet.
There could be a number of different reasons for the foam including things such as ingesting something toxic, an obstruction somewhere, or even bloating or an allergic reaction to something in its food. It could also be grass as dogs like to chew grass much like cows. It is not uncommon for dogs to swallow grass as it makes them vomit - a defence mechanism should they feel they have eaten something bad.
The best course of action is to keep your dog warm, hydrated and comfortable, and to call a vet immediately. There aren't many major problems that come from vomiting stomach bile, but it will soften her throat, and if your dog does vomit a lot it could lead to burning of the oesophagus. It is probably some sort of intolerance to food but if in any doubt make sure your dog is well looked after and make an appointment to see the vet.