yellow discharge with blood after sex

so.. I had sex today with my boyfriend without condom.. and he didn’t cum inside.. ok.. that was fine.. but idk if this is because I don’t have sex often.. and I feel a lil pain.. nothing crazy.. and I went to the bathroom to pee and this happened..

Help !