Getting a new pump

Patient: Hi I have recently moved to England from Wales and haven’t registered with a doctor yet. My asthma pump has run out and I urgently need another. Can I go into a pharmacy and get one if I take in the pump I have now?