Welcome to HCM,
You must have taken medicine which is a combination of Paracetamol
and Tramadol which is centrally acting analgesic
Tylenol is plain Paracetamol,Your pain management doctor may have reasons for his action,but I can understand you may have not taken this drug intentionally .
If you have Headache and this is due to Migraine
you should not worry you can take paracetamol and there are very good Prophylactic treatment is there and you can see good Neurologist
The medicine was given by your mother but always understand and make sure what you are taking.
Please take care