Off topic question

Can I become lactose intolerant at any time? The past few times I’ve gotten ice cream or a milk shake I get bad pains & nausea a little while after. It only happens after I eat anything ice cream related. It doesn’t happen when I have milk w/ cereal or it doesn’t happen when I eat cheese.

* I don’t eat a lot of any of these foods but when I do this is what happens.*