DHFR inhibitors act by binding to the active site of the enzyme, preventing the binding of DHF. These inhibitors often mimic the structure of DHF, allowing them to compete effectively for the active site. This competitive inhibition results in a decrease in the production of THF and subsequently impedes the synthesis of DNA, RNA, and proteins.