Thanks for the query
Probably you have developed a thrombophlebitis
It is inflammation of veins.
Please take an anti inflammatory tablet like combiflam
Also do some hot fomentation.
If you dont get relief in 2 days please meet a doctor.
Let me know if you have any other doubts.