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.