If your back hurts after ab exercises, you're definitely doing it wrong, try doing crunches on a flat surface or on an incline bench. If lying down, keep knees bent, soles of feet flat on the ground, and try to pull your face up to the ceiling using your core. Do 3-4 sets of those, see how you feel