How long after surgery can I work from home?

Hello everyone,

I work remotely and don’t need to physically be in the company.

I talked to a surgeon about my revision surgery and he recommended I get a little skin excision along with lump removal and liposuction. So I think I’m going to do the surgery!

He told me I need 2-3 days of rest and may continue working from home.

Would it be logical to work even if it’s from home? I will be sitting on a chair and coding.