Use wp_enqueue_script and wp_enqueue_style.