m y teeht hirt while eating cold

when cold et food and teth then my teeth hirt
hyw someone help
i cannot enjoy my ice cream now because eevvery time i eat it my motuh hurts
Does anyone have a solition?
(if you dont give me a solution i will rub wax on my teeth to make them not cold)

this is not a forum for medical advice