Sounds like she may have gotten into poison, or loss of balance due to ear infection, head injury, etc. Get her to the vet ASAP
Well the panting I would say overheated, call your vet and explain what is happening and the circumstances. He may just be overheated. Let's hope that is the case