developed lactose intolerance

Am
I brought to my doctor about the severe bouts of diarrhea I've been having the past couple of weeks. And she suggest I change to almond milk or coconut milk. She believes I've become lactose intolerant and I have never ever heard of this before so I kind of laughed. But I'm definitely gunna try her advice. Has this happened to anyone else?