Although it is impossible to render a diagnosis over the Internet on a patient that one has never examined, most painful masses near the anal canal that arise suddenly are benign inflammatory lesions. These include hemorrhoids (when the blood clots within them, they become "thrombosed," and can be very painful), anal fissures (a crack in the lining of the anal canal), anal fistulas (tracts), and abscesses. However, although rare, malignant lesions of the anorectal canal can also sometimes be uncomfortable as well.
At your age, this lump is far more likely to be the result of one of the benign inflammatory lesions that I've listed above. However, if the lesion does not completely resolve within the next week or two (and, especially, if it enlarges further, or becomes progressively more symptomatic, then you should see your physician for further evaluation).
Finally, you may want to review the columns on my website regarding tobacco use (including smokeless tobacco).
Sincerely,
Robert A. Wascher, MD, FACS