If menstrual pains stop after first baby, why am I experiencing it this last few months. I have a two year old baby? I have been trying to get pregnant

Hormones . Consider your history and normal cycle pattern. If you started some form of birth control after the birth of your first child and recently went off in order to become pregnant, this may be normal for you. Birth control can give relief for menstrual pain. Talk with your doctor and come up with a plan to optimize your plan for pregnancy while minimizing symptoms occurring during your cycle.
Pain with menses. Does not stop after the first baby, unfortunately. If the pain is abnormal for you, please see a doctor.