pill during period

i got my period two days ago. i took my new birth control the first night hoping to stop it. will this work?