Congrats on your new addition.
I took 26 years off the bike. Getting back on was a medical necessity as my hips, knees, and ankles were screaming from running on a treadmill. It took a while before I was able to do longer rides. Just take it easy, don't set any timelines, ride at early base intensity, get rest, and most importantly, listen to your body.