Guys help me out

How to create pop up window…to display ads and login details…