It could be...
Depending on your age and the location, size, etc of the lump this could be a great many things ranging from benign (like torsion of the testicular appendix) to serious (like testicular cancer
Any new lump, especially a painful one, in the scrotum must be taken seriously. However, it needs to be seen to be properly evaluated. Don't delay seeing you doctor. Go right away!