How many days before my period do i or can i take pain meds to delay my period??

Ni
And how much mg do I or can I take?? Help please I can't have it yet omg eekk