I'm sorry your dog is in distress. You definitely need to get your dog to a vet. There are too many possibilities for anyone to give a diagnosis without examining your pet. Be sure to describe what you saw before, during and after the collapse. Good luck to you and your pup.