Any lump in the testis should not be ignored. It can be a testicular tumor. Hence it is prudent to get yourself examined by a urologist.
The other possibilities can be a epididymal cyst, hydrocele, hernia etc which are benign conditions.
Next Steps
Get yourself examined by a urologist.
Health Tips
A scrotal support would help with the pain that you have