It's tempting, but popping or squeezing a pimple won't necessarily get rid of the problem. Squeezing can actually push bacteria and pus deeper into the skin, which can cause more swelling and redness. Squeezing can also lead to scabs and may leave you with permanent pits or scars.
Because popping isn't the way to go, patience is the key. Your pimple will disappear on its own, and by leaving it alone you're less likely to be left with any reminders that it was there. To dry a pimple up faster, apply 5% benzoyl peroxide gel or cream once or twice a day. You can buy this over the counter at your local drugstore.
If you're concerned about acne, talk to your doctor or a dermatologist.