Blood while sex

Hi good evening. My question is, why is that there's a blood while me and my partner are doing some intercourse then it smells really bad? I nees explanations please. Thanks. 😃