u should not co relate these two things.
they have no direct relation
u r right that masturbation
is natural and normal thing and never hurt body
if ur lesion occur on full face then it is acne
if occur only on beard area then it is folliculitis
both condition response well to antibiotic
so u dont worry about diagnosis