Before insert jQuery, you must check that is it alreay installed in your template? Please find “https://ajax.googleapis.com/ajax/libs/jquery” if you found nothing, mean you need to continue, if yes, just stop and do nothing because your template had a jQuery library.
In template Editor window, find the tag and insert before it with the below line: