Please consult a Urologist/General surgeon
and get examined clinically.
If there is any doubt,they will order for Ultrasound
/Colour Doppler of scrotum.
It will confirm the diagnosis.
Till then,you can use antibiotic and anti inflammatory medicines as it looks like Epididymo orchitis
Wish you good health