First time on the pill

I just started the pill, what should I expect from it and when will it start preventing me from pregnancy.