Ibn Abbas (Allah be pleased with them) reported that Messenger of Allah ﷺ got himself cupped and he paid the clipper his charges and he put medicine in his nostrils. (Using translation from Muslim 1202b)
أَبِي إِنَّ رَسُولَ اللهِ ﷺ احْتَجَمَ وَأَعْطَى الْحَجَّامَ أَجْرَهُ وَاسْتَعَطَ