contractions

6 days til due date. I walked 2 miles on the treadmill today. Used my breast pump & it instantly brought on contractions and I have been having them the past hour. I'm GBS+ and know I have to get penicillin before giving birth and don't want to be in the hospital last minute so that I can receive it. When's a good time/indicator I should go?