Stomach issues after exercise

Has anyone experienced issues with their stomach after starting to work out? It has been along time since I have actually done any exercise and decided to get back into it, however feeling pretty awful today and wondering if that could be contributed to starting exercise after along time?