I woke up at 2 this morning, and my dog was trying furiously to get into my bedroom. I opened the door, and Molly was panting and shaking. She has an electric fence, so my immediate reaction was that she had or was being shocked. She was whining. I brought her into my room, because I had my air conditioner on, and the rest of my house is really hot, because I thought she might have been over heating. I gave her some water, but she didn't drink a lot. I watched tv for a while, and kept an eye on her. She didn't lie down like she usually does, she just sat and shivered, and looked at me. She moved and sat in another place. I had to get up early, so I let her out because I wouldn't have been able to get to sleep with her panting. I let her out and she tried really hard to get into my room, darting between my legs and such, but I finally lost my temper (which I now feel bad about ) and forcefully put her on her bed, but she just sat down. I woke up not too long ago, and she was still panting and shaking, and I'm really worried.
It's probably nothing to worry about, but I care about Molly so much that I do worry a lot. Any advice? She's outside now, maybe that will bring her back to normal..
edit: I don't know if it helps ( I don't know anything about dogs), but she has had a Rabies shot. Just as a reference..