Lactose free dairy products are a great way to keep dairy in your diet without digestive issues. Look for lactose free products as well as experiment with lower lactose foods to see how you feel.
*da Silva, C. D., de Oliveira, D. R., Perrone, Í. T., Fonseca, C. H., & Garcia, E. S. (2021). Low-fat, lactose-free and leucine-enriched chocolate cow milk prototype: A preliminary study on sensorial acceptability and gastrointestinal complaints following exhaustive exercise. Journal of the International Society of Sports Nutrition, 18(1). https://doi.org/10.1186/s12970-020-00406-0