Starting pill while on period

So I just bought the pill for the first time but I just started my period. Should I wait till after my period before starting them or is it okay to start while I'm on it