Anyone’s baby hitting/slapping your face?

My 9 month old slaps my or his dads face every now and then. We address it by firmly saying no, but he laughs. Anyone experiencing this? How do you address it?