Taking expired medication will not harm you.
Taking expired medication is safe for your health however the expired medication is not as effective as fresh non expired medication.
When the medication expires the expired medication may not treat your pain or any other health issues you have that need the medication.
For example if you have a headache and take expired aspirin then it may take longer for the aspirin to work on the headache.
Or the expired aspirin may not help get rid of the headache at all.
But the expired aspirin or other expired medication will not harm you.