They need to improve the pen and offense as much as they can (while also promoting 2-4 rookies who weren't on the opening day roster) and hope the starting pitching stays healthy and performs to 2021 levels or better.
If they aren't a contender around the trade deadline, they need to dump as many guys about to be free agents as they can (for a reasonable return), for controllable players or those who can come up in 2025 or earlier and be a part of the Frelick-Mitchell-Turang-Ruiz-Wiemer wave (while expecting one of those players to be expended in a trade).