How can you really tell contractions apart when your in labor?

I know it’s a stupid question and ived seen people say they used certain apps to help them detect contractions when your near labor. But I still don’t get it. How many minutes apart or how long should you wait until you know it’s time to go to the hospital? I feel stupid cause I don’t get it I’m almost 39 Weeks