I would go and see your doctor. It's possible that having sex has put you into labour. You are 36 weeks...so it wouldn't be too dangerous to have the baby now.
People who are overdue are suggested to have sex because of this reason.
Start timing them and the intensity...
Good luck...you're almost there!