I tried to use a short code to add contact form to pop up

I tried to use a short code to add contact form to pop up and it does not work. How do I get the contact form to function? Thanks