Complex sentence: Permethrin is a first-line treatment for scabies when used as a cream.
Split into simpler sentences: Permethrin is a first-line treatment for scabies. It is used as a cream.