The present invention relates to heterocyclic inhibitors of stratum corneumchymotryptic enzyme (SCCE). More particularly, the invention relates to theuse of compounds with the formula (I) or (II) for treatment of certaindiseases, in particular skin diseases such as pruirtus, as well as cancer suchas ovarian cancer.