Can you do a vaginal birth after having a C-section?

Gloria

I had my son in oct. 2014. He was an emergency C-section so when I had my daughter in April 2016 the doctor told me I had to do a C-section because they were so close together. Hubby and I are thinking about having another and I wanted to know if I would automatically have to have a C-section again or if i could try vaginal since it's been 3 years since my last.