No see, current only flows in a closed circuit.
When a wire is left bare, or left open, no current I actually flowing through it. Because the circuit is not closed, it is not complete.
But when we touch it, we behave as an extension of the circuit, we conduct the electricity. This is because current only flows when there is a potential difference. As we know, the earth (or ground) is at 0V potential.
And since we are in contact with the ground when we are touching the bare wire, we Complete the circuit, therefore current flows through us.
But also notice, that when wear rubber slippers, or any insulating material like rubber, we stop the current from flowing through us. Because the circuit is not closed again ! The rubber doesn't not conduct electricity, so the current doesn't pass through us. So we don't get a shock.
Getting a shock basically means that current is passing through you.
Understand? :)