Was it a recent piercing? It's natural to have some swelling after an injury.
A cold compress on the area may help.
If the area is red, painful, and/or you have any discharge from the area it may possibly be infected. In that case you need to see your doctor.