Sex before/during period

We had sex the day before and the day of my period (which lasts 5 days). We went bareback and he pulled out like he normally does, but he felt some cum go in me before he could. My period was normal, but I had brown discharge for several days after, which is not normal for me.