Any vet can aspirate it in the office to see if it's a cyst, wart, or something more. If it's a mast cell cancer they can remove it under anesthesia. Provided it hasn't spread, surgery can cure it.
Older dogs get a lot of lumps and bumps that are benign. Better to have it checked. I pay $35 for an aspiration plus an office visit fee.