Infant tylenol after 2 months shots?

M
My baby boy got his shots today and his doctor told us to not give him tylenol but hes in so much pain and keeps crying hysterically he got 5 shots and one liquid did any of you give your babys tylenol? And if so what was the amount?