How can you tell if contractions are caused by sex or not?

How would I know if I’m in labor or just contracting because of sex?