Hello and welcome to healthcare forum.
As per you mentioned your complain and condition it is possible that you might have torsion of the testis, but to confirm it you will require colour doppler examination.
If this test shows that there is no blood flow in testicular artery
then there is no chances to save the testis as you are having your problem since 24 hrs.
Still you will require surgery for normal side of testis to fix it to prevent its torsion, as the reason for this torsion applies to both the testis.
Best wishes for your health.