Try putting some ice on it. It could be from the medications they gave you especially if they gave you Phenergan or anything for pain as these are very irritating to the veins. If the swelling doesn't go down in a couple of days, contact your surgeon, you could have some phlebitis going on.