The Prophet (ﷺ) was cupped and he paid the wages to the one who had cupped him and then took Su'ut (Medicine sniffed by nose).
Sahih al-Bukhari Book 76, Hadith 14