The only way to be sure is to get tested. The test is easy - either a urine sample or a fluid sample from the penis, vagina, rectum, or throat is taken and sent to a lab. When a woman has discharge from her cervix or a man has discharge from his penis, it is often possible to test for gonorrhea by looking at the discharge under a microscope. Otherwise the sample is sent to a lab for testing, and results are available a few days later. Tests can usually detect gonorrhea 3 - 7 days after infection.
Many healthcare providers do not test for gonorrhea unless you ask. Getting a pap smear doesn't mean you have been tested for gonorrhea or any other STD.