pill information

If I was to have sex just after my period ended like a day after and I only just started back up on active pills will I still be covered by the pill?