Hi. Pectoral muscle would usually be not associated with neck pain unless some twisting injury.
Avoid exercising directly without warm up. Best warmup would be to do simple jogging for 10-15 min and then do exercises.
Next Steps
Better to consult with a pain management specialist
Health Tips
Avoid exercise for a few days. let it settle down and then start only after proper warm up as suggested