Breast milks healing properties...

Latrice
FTM here and was wondering if I could still use my breast milk for baby rashes and cradle cap even tho I'm not using it as a food supply for my child (due to medication I'm taking). Will medication cross over thru babies skin/ blood stream?? Please experienced parents fill me in