am I peeing or ejaculating during intercourse, how can I tell the difference

It just started happening all of a sudden and sometimes it smells a little like pee.

No need to worry it is normal during sex.