hello and welcome to HCM forum,
as you stated that cold
water alleviated the pain, this condition is known as pulpitis
, you may not be able to localize the tooth that is causing pain, therefore i would like to inform you to kindly visit your dentist
and get your tooth checked, most probably the tooth will have to undergo root canal treatment
as you are complaining of pain.
Also ,there might be infection that is causing pain, ibuprofen
will not take care of it, you will have to undergo a proper antibiotic coverage if needed.
i hope this information helped you in some way.
i wish you good health.