just started the pill

If you start the pill a day before your period, does it stop you from having it or will you still get it?