If the pain is caused by saddlesore that can be dealt with by draining the infected area and then allowing it to heal. That can take a day or a week depending on the size and depth of the saddlesore.
Chafing without infection a few days of being unable to put pressure on the chafed spot.
Hopefully, all you have done is made the flesh over your ischial tuberosities (sitbones) tender and sore. This happens because of the pressure resulting from sitting on a saddle after a while away from riding. This condition is painful for the first 3-4 days of riding and then goes away. My wife recently encountered this issue and said the third day was the worst, but after a week ceased to be a problem.
Lengthy rides on jeans or other pants with a large protuberant seam upon which your weight is placed isn't a good idea, and while padded shorts are definitely more comfortable, pants with a gusset that puts the area on a smooth, seamless piece of cloth are enough for me. A wide, padded saddle can counterintuitively chafe more than a narrow one since you weight is supported by soft tissue instead of the sitbones.
This is, of course, just my opinion. Hope you feel better soon.