welcome to Healthcare Magic.
There is no association with masturbation
Pigmentation and scar of acne on face is always embarrassing.
You need to visit a dermatologist
for management according to your skin condition.
Lot of treatment option are available for such a condition e.g. chemical peel, Laser
So, No need to worry.