When do I call??

How do I know when to call the doctor? I’ve been having inconsistent contractions on and off since yesterday. But I feel lots of pain like round ligament also. I’m 35w2d and cervix was closed as of last week. I don’t want to call for every pain but how do I know when it’s time??