Welcome to HCM.
I am suspecting varicosities in your leg veins. Varicose veins
occur due to defects in the valvular system of the veins and are most common in the dependent areas, mostly leg veins. I suggest you try to drain them by massaging them lightly. Slight elevation below your legs might help. i suggest keep soft pillows to support your legs while lying down. You can take pain killers for the pain.Please get in touch with a surgeon who can examine these dilated veins and give you appropriate therapy. Thanks.