Shock collars should only be used by dog owners who have been trained by a professional on the proper use of the collar. (this would account for about .05% of all dog owners in America.)
Using a collar improperly will ruin a dog for life. Please re-read this line a thousand times!
Your dog may 'know the basic commands' but your dog isn't obedient yet. Knowing how to stay means that the dog will STAY when commanded when the door is open. A dog that moves after you've told it to stay does not truely know the command. A release word (we use 'free' should be the only way to get a dog out of stay. Knowing how to come means the dog will COME with one command even when chasing a cat or the mail man.
I would strongly suggest that you revisit the stay and come command with your dog. Even when on a leash, your dog should never go through a door before you or without being given a command. Our dogs are trained to sit at the door and only move when we say 'free'. Repetition is the key here. Put her in a stay while you are in the kitchen, living room, etc. Leave the room. Walk around her. Cause distractions. If she moves, put her righ back in the sit and carry on.
One more thing - use one command only. Telling Fido to "Sit, sit, sit" will teach Fido to sit only after you've demanded it 3 times. Telling her to "Stay" after she's released herself from "Stay" will teach her that you weren't serious about the first stay.
We only ever use shock collars on our dogs for their work. They are hunting dogs, and the shock is set low enough that it does not hurt them. (We have both tested the collars on our necks so we know what they feel like.) We've been trained by professionals on how to use them. They might get one shock in three trips to the field. Our dogs go bezerk when they see the collars come out because it means WE'RE GOING HUNTING!!!!!!!!!!!!!!!!! Like a kid in a candy store x 100!