What if you were having symptoms of pregnancy like stomach ache feet ache breast pain from last 12days and suddenly you have periods?

Then you're not pregnant. Those are just PMS symptoms (except foot pain, which isn't really a pregnancy symptom either until about 32+ weeks)