welcome to healthcare magic forum
you have acne vulgaris
and it look like hormonal
reason for it .
it is not heredity but hormonal problem may be heredity
you need to do songraphy to rule out PCOS
it is very common in female and acne get worse before period .
you need to take regular medicine for it for 5 month
better to consult dermatologist
and get planned treatment
i hope i answered your question