6month baby / ice cream

I had ice cream from cold stone and baby kept putting his mouth on the ice cream so I gave him a bit. Was I wrong??