My stomach muscles sometimes hurt after sex...infact they hurt this weekend, i remember I felt so achey in my stomach area. If your periods are normally irregular, then your probably not pregnant. But because you have't had a period in a few months, I do suggest to see your gyn to make sure its not serious.
Take another home test first. It's cheaper. Good luck!