First you need to download JQuery library from http://jquery.com/ then
load the jquery library the following way within your html head tags
then you can test whether the jquery is working by coding your jquery code after the jquery loading script
If you want to use your jquery scripts file seperately you must define the external .js file this way after the jquery library loading.
Test in real time
$(function(){
alert("My First Jquery Test");
});
This is how you link a JS file in HTML