How do you know if your lactose intolerant? Or have an allergy

Happy

I ate some beans and sausage with cheese on then afterwards I drank some milk. Normally I would be fine but I have had the runs afterwards. I'm starting I think I might have like lactose intolerance. How can I be sure?