Thanks for query.
This type of problems are common after puberty
as there is hormonal
Consult physician for your complain of weight loss
to rule out any wasting diseases.
This may cause delayed period,painful period.
If you are found ok then go for 3-4 cycles treatment of hormonal medicine course which will regularize your period and relief from painful period as well.
Ok and bye.