Ultrasound for testicules are safe. But if your suffering from pain, I would suggest to get it clinically examined. This will help to make a specific diagnosis. Don't jump on investigation it will make you more confused.
Health Tips
avoid long sittings, avoid hard exercise or lifting heavy things.