Slept with his cousin

I slept with my ex bf cousin I don’t know they were related to each other, never met my ex bf family, I met his cousin through IG from suggestion I was physically attractive to him, we developed feelings for each, fast ward we decided to hook up, and on Christmas he showed me pictures of his family and I saw my ex and idk if tell him or just ghost him.