Firstly yes you should tell your AME pronto and seek some advice.
Second you should report the medication error or ensure that the pharmacy have reported it. Assuming this is a UK pharmacy they need to report this to the NHS National Reporting Learning System. You may find further advice
NPA or on this NHS England PDF
here