Yup aft c sect doc would recommend wearing compression socks to prevent dvt as would be bed-bound during the 1st n 2nd day (post-op). I would also recommend to get a binder to support your wound and abdomen after c sect especially on the 3rd day when you get down from the bed.
Hospital will usually recommend after your c-sec procedure :)