Not sure if simple acne or something more serious

Patient: Yesterday I started to notice that there are two separate whiteheads on my knuckles. They’re starting to grow larger and the area around them is inflamed. Is it just warts or something more serious?

Symptoms: Swelling, inflamation

Doctor: