You have to be at least 16 years old in the UK to buy over the counter pain relief such as paracetamol and Ibuprofen.