I was single in 2023 and I am now married in 2024, how am I to file my taxes for 2023?

Am I supposed to file jointly even though I was not married during the year of 2023