How wp_enqueue_script works?

In simple case you need to enqueue script before header scripts are printed, which happens in wp_head hook.

Basic approach would be this in functions.php of your theme:

add_action('wp_enqueue_scripts', 'my_enqueue_scripts');

function my_enqueue_scripts() {

    wp_enqueue_script('jquery');
}

tech