Using oil on your body on Shabbat

Can one use liquid oil or coconut oil that turns to liquid on hour body for soothing purposes? For example on a rash or to relieve muscle pain?

Oil that that most people smear on their body without a medical reason can be done on Shabbos even for a medical reason.