I slept with my 2nd cousin

I slept with my 2nd cousin and the condom broke and now I think I maybe pregnant as was the middle of my cycle. I really don't know what to do

For everyone's information, I didn't know he was my 2nd cousin, we were at my grandfather's 90th birthday party, there was family there I had never met before in my life, after the party a few of us went for drinks into town and he came back to my hotel with me. We only found out we were 2nd cousins at breakfast the next morning when my mum introduced me to his mum, my mum is his mums 2nd cousin.