Sugar pills

So question if you have unprotected sex during your sugar pills can you get pregnant? Also what is the window for hours you can be between taking your pill when is it considered you missed a pill? Stories of how you got pregnant on the pill