How can I make it so that when they enter the page there is a banner that closes only after 5 seconds?

Can you with codes and place markers?

I tell myself yes, but I can't think of how...

someone who knows how to do it?

Thank you