Period And diet pills

Molly
Is it okay to be on my period and still take my diet pills?