Electric Current and Conductor

I have a question based on current as we all know that current flows due to the movement of electrons in substance. Now suppose a conductor having electrons randomly in motion so we study that current flow due to flow of electrons in a substance so this have to produce electric current. Then why a substance (conductor) doesn’t make current; but when connected to a socket it give current..