Changing from formula to breast

I gave birth to my son just over 2 weeks ago, I was always told that breastfeeding wasn’t an option due to medical reasons so I’ve been formula feeding him and it’s been fine he’s been great but my doctor told me on Friday that I can infact breastfeed if I wanted to. My milk has almost gone completely, if I stimulate my breast some leaks but not a lot and my son is now 2 weeks on formula. Is it pointless trying to change it now? Can I even produce milk?