Fed baby old bottle 😭😭

I'm freaking out and crying. I had an old bottle on my nightstand and thought it was the new one I made but it wasn't. My baby didn't drink a lot of it but it sat out ALL DAY and it's been hot here. Do I have to take him to the doctor?! I feel terrible

Edit: We called the pediatrician and all they said was why did we do that? And kept criticizing us like we did it on purpose.

Update: Baby ended up being totally fine! No vomiting, diarrhea, etc. I guess he didn't drink enough to do any damage. Thank goodness!