Updated

While Ben Affleck is away, his rumored girlfriend Shauna Sexton will play.

While the troubled actor returned to rehab for the third time on Wednesday, Affleck's most recent fling was seen hitting the beaches of Malibu.

sexton 2 x17

Wednesday, August 22, 2018 - Playboy model Shauna Sexton, 22, is stiking in a red coverall as she hits the beach in Malibu while beau Ben Affleck, 46, meets with ex Jennifer Garner at his home in the Pacific Palisades. - ROL/X17online.com (ROL/X17online.com)

The 22-year-old model flaunted her bikini bod in an olive green swimsuit. She appeared to enjoy a dip in the ocean and walked barefoot in the sand.

During the time that Sexton was snapped enjoying her relaxing day in the sun, Affleck was being driven to rehab by his estranged wife, Jennifer Garner.

sexton x17

Wednesday, August 22, 2018 - Playboy model Shauna Sexton, 22, is stiking in a red coverall as she hits the beach in Malibu while beau Ben Affleck, 46, meets with ex Jennifer Garner at his home in the Pacific Palisades. - ROL/X17online.com (ROL/X17online.com)

TMZ first reported that the star checked into a treatment facility after Garner went to his Pacific Palisades home to hold an intervention. Garner reportedly left the house visibly shaken before returning shortly after with an unidentified woman.

Affleck x17

Jennifer Garner is seen reportedly driving her ex-husband, Affleck, to rehab in California on Wednesday. (X17)

After that, all three got in a car and headed for a treatment facility.

In the days leading up to his encounter with Garner, The Blast obtained photos of Affleck receiving a delivery of alcohol at his home. People reported that Affleck has been in ongoing treatment and has attended meetings for alcohol abuse. The magazine also noted that he knew he needed treatment and reportedly didn't resist Garner's pleas for him to enter rehab.

PHOTOS: AFFLECK'S FLING SHAUNA SEXTON

Lindsay Shookus

Affleck dated "SNL" producer Lindsay Shookus after splitting from Garner. (Getty Images)

An insider told Page Six that Affleck was "having a tough time" since ending his year-long relationship with "Saturday Night Live" producer Lindsay Shookus.

Affleck is now reportedly in a live-in treatment facility, where he will stay for an extended period of time.

X17 Ben Affleck Playmate

Affleck was spotted enjoying the afternoon and picking up fast food with his rumored Playboy girlfriend in Los Angeles. (X17)

Prior to traveling to rehab, Affleck was snapped on two occasions with Sexton. The two were recently spotted at Malibu's celeb hot-spot Nobu and were also photographed on a much more low-key outing at a Jack in the Box drive-thru, grabbing hamburgers and fries in Affleck's Range Rover.

Fox News' Tyler McCarthy contributed to this report.