4 shots while bf

So I had 4 shots.. not all at once but over maybe 3 hours. And I breastfeed.. will my baby be okay??? I don't do this everyday, but occasionally