My boyfriend just punched me

My boyfriend just punched me… In his sleep of course it was an accident he would never lay a hand on me in any other way than loving but it is wrong that I kinda wanted to punch him back? Though to be fair the other day he said I elbow him all the time… But he punched my tit and it hurt… So would it be wrong if i punched his junk “accidentally”?