Certain aspects of the invention relates to small molecule autophagy inhibitors of the formula (I), and their use for treatment and prevention of cancers and acute pancreatitis. As disclosed herein, a small molecule inhibitor of autophagy was been identified from an image-based screen in a known bioactive library. It was found that this autophagy inhibitor functions by promoting the degradation of type III PI3 kinase complex which is required for initiating autophagy. Medicinal chemistry studies led to small molecular autophagy inhibitors with improved potency and selectivity. (I).Ciertos aspectos de la invención se refieren a inhibidores de autofagia de molécula pequeña de la fórmula (I), y su uso para tratamiento o prevención de cánceres y pancreatitis aguda. Como se describe en la presente, se ha identificado un inhibidor de autofagia de molécula pequeña a partir de un examen basado en imágenes en una biblioteca bioactiva conocida. Se encontró que este inhibidor de autofagia funciona al promover la degradación del complejo de PI3-cinasa tipo III que se requiere para iniciar la autofagia. Los estudios de química medicinal conducen a inhibidores de autofagia de molécula pequeña con potencia y selectividad mejorada.