The more you spar the more you can "get used" to being hit. An example is Ray Leonard was sparring a 6-12 months before the Hagler fight went ahead to get himself used to being hit again.