How do you tell if your finger is broken or jammed?

Xray and doctor. No way to tell for sure it's fractured without an xray. See a doctor.
See your doctor. Your doctor will perform a physical exam and consider ordering an x-ray if he/she feels that the finger may be broken.