How to to create popup box which will dissapear after 3 seconds?

As the title says I want to create a popup box in the middle of the screen where will be written “winner” or something like that. This should be activated when a player wins the game. I guess I have to use timeOut function.