Loader Operator reported that they jammed their right shoulder and had limited movement and pain in the right shoulder when raising their arm. They stated in the incident report that they were not sure how it happened and that it could have been from driving the loader and hitting bumps and potholes.