Was your dog just running around the yard and suddenly pass out? While this can be due to many different things, it can be because your dog has narcolepsy.
Your dog may not be getting enough sleep at night, or they may be playing very hard to cause this sudden collapse. If your dog suddenly collapses, the best thing for you to do is to take them to your vet right away.
