Thanks for writing to HCM
Since you have pain in right side of scrotum
for 5-7 years on and off, you should consult your surgeon. There may be many differential diagnosis.
It can only be confirmed by clinical examination and Ultrasound
Ultrasound can indicate about many conditions.
Scrotum changes in size normally in various conditions. Don't worry about this.