(Not a Teacher)
You mean some sort of spray on pain reliever? I don't think there is a particular word for it, beyond perhaps the proprietary name of the spray you want to use.
Some members of the soccer community call the stuff "magic spray", but it's probably something like ibuprofen spray, or maybe just ice spray.
Student or Learner