Been there overdid that too. That's how I figured out it was really the lactose that was the problem. I can eat it but I'll get horrible gas if I don't gobble at least 4 Lactaid tabs, preferably before eating it. It can take 6 for the double whammy you gave yourself. Even though it's been a long time you could try the Lactaid. I find even drinking a small glass of Lactaid milk does the trick.
If you don't digest lactose anymore, you feed it to the gut bacteria who happily make lots of gas.
If you don't get relief with Lactaid now, or the next time you eat ice cream, you might begin to suspect milk proteins. You can get some Whey protein and mix that with something you eat or drink. If that gives you a problem you could see an allergist and get skin tested for milk allergy.
We can acquire allergies and intolerances all through our lives. Avoidance of the intolerance foods can let us eat them again later, in small quantities.
Start keeping a food diary or journal. Write down what you eat and drink, the times and any reactions you get within a couple of hours. (If you get migraines, you can look back up to 2 days.)