I wanted to know how can I have a div that has an ad to load or become visible ONLY the first time you load the page but hide it every time the page is refreshed?

I only have the code to load the div with Jquery but don’t know how to hide it after refreshing the page:

$(document).ready(function() {