simethicone my beloved
It's cursed that the prevailing theory on the internet is that if you accidentally have lactose as a lactose intolerant person, the only thing you can do is tank the next 6-12 hours of suffering. it's cursed because actually if you have a simethicone (gas-x) and a tylenol (not an advil since it irritates the stomach lining) the pain becomes pretty much entirely manageable.
Of course if you google "simethicone lactose intolerance" articles pop up. but just googling "lactose intolerance" doesn't do shit!!!
I'm very glad that I know this now, but it's bad that I had to figure this out from just randomly buying over the counter drugs related to bloating and trying them to see if they do anything, and also there were literal years where I suffered needlessly.