For ibuprofen you need to go to a pharmacy.
You can't buy antihistamines either, only in pharmacies and they are quite expensive. I remember you could get them in Tesco or Asda for like £2.