Sex while on period

So It's my 3rd day on my period and my boyfriend and I had sex.... Is there anything wrong with that?