Martha Stewart has been advised to be on bed rest after undergoing surgery this week.

The 79-year-old lifestyle expert posted a photo on Instagram Wednesday of her leg wrapped in a medical bandage, captioning, “Not the prettiest photo nor the happiest back story.”

Before providing details on her injury, Stewart wrote, “Bad timing all around. Ruptured my Achilles’ tendon a while ago. Tried to get it to heal on its own to no avail.”

The businesswoman underwent three hours of orthopedic surgery on Tuesday, following which she has been advised to stay home for a couple of weeks.

Stewart said of her recovery, “Recuperating at home I have been ordered to lay still with leg elevated for two weeks. After that another two to four weeks of crutches. Then maybe some more normal activity.”

Sharing how she picked up the injury, Stewart said, “Most such ruptures occur when dancing or playing sports. Mine was caused by a surprise step into a hole in the dark getting out of the car.”

Drew Barrymore commented on the post, “Your still so sexy !!! so so so sexy!”

Grey’s Anatomy star Ellen Pompeo wrote, “Glad to hear you are on your way to a full recovery !!! Lots of love from your favorite fake doctor.”

According to PEOPLE, Stewart announced her injury the day before the premiere of her new Discovery+ series, Martha Gets Down and Dirty.

The show follows the cookbook author as she invites celebrity guests to her 150-acre farm in Bedford, New York, to help them with their home and garden projects. This story originally appeared on PEOPLE.