It’s really common to find it uncomfortable to do sit ups. You have 2 options.
Build up to it, or
Give up on it and do other exercises which do not trigger the discomfort but still achieve the same objective/work your abs.
It’s normal to have discomfort during sit-ups. Work around it or build up so that you still get the benefits of the exercise without experiencing discomfort.