Pain while peeing after sex? Is this normal?

Ruby

Sometimes after I have sex with my boyfriend it stings when I pee and I almost feel swollen down there. But sometimes this doesn't happen as well? Is this normal?