Help! Chunky discharge

Me and my dh just had Sex and it hurt during which is actually normal for me but after this is what was on the T-shirt we used to clean up

What is this?