If one laughs at a baby, and the baby is less then a year old, how does he apologize from him? Does he wait until he can speak, or does offering a good deed on behalf of the baby suffice?

Sadaqah is fine