Constipation

So I started my period three days ago.. been constipated for about 6days now. Just took milk of magnesia 2.5hrs ago. Does that stuff actually work? I’m scared if I can’t go after that something is wrong with me..