Hi,
Welcome to ehealthforum,
It is difficult to comment on your symptoms without examining you. The heartburn and chest pain could be due to gastritis. Periods could be a stress to the body to which the body responds by increased gastric activity. Drink plenty of water and maintain good diet. Visit your doctor/gynecologist for further examination and evaluation to find the exact cause for your symptoms. Be in regular follow-up for your PCOS monitoring. Treatment as appropriate would be started to help you based on examination and investigation results.
Take care.