Married & Baby in 2022

I was married in 2022 & had a baby born in 2022. I have always filed single with my W2 in the past so I am completely new to this. Is it better to file married jointly or married separately for the biggest return?