Taking the pill late

Ok so on Wednesday me and my boyfriend had sex ( my first time ) , we didn’t use any protection but he said he didn’t cum. I took a plan b the next day. But I didn’t take it in the morning I took it after school. Is that a bad thing to do ? Taking the pill late ? Does that mean I could become pregnant ? I’m not ready to have a kid yet. Also will my period come late since I had sex before starting my period this month ?