The invention provides methods for modulating the activity of farnesoid X receptors (FXRs) using compounds of Formula (I) or (II). In particular, the invention provides for the use of compounds of Formula (I) or (II), or a stereoisomer, enantionmer or pharmaceutically acceptable salt thereof, for treating or preventing liver and gastrointestinal diseases.本發明提供使用式(I)或(II)化合物調節類法尼醇X受體(FXR)之活性的方法。特定言之,本發明提供式(I)或(II)化合物或其立體異構體、對映異構體或醫藥學上可接受之鹽之用途,其用於治療或預防肝臟及腸胃疾病。