Machan,
Go for a Urologist as soon as possible.
It could be an Urinary Tract Infection or an epididymal cyst.
The Doctor will check you and probably put you on Antibiotics. and it will go away after couple of days. If the pain is still remaining go for an Ultra Sound Scan, that will tell...