How do I know if I'm getting addicted to the medication I'm taking?

I have had surgey to fix a problem ans was not correctly fixed. Having to see a doctor and get medication to help easey the pain. While taking this medication it helps with the pain and I notice a difference of how I feel when I take it vs when I dont. Someday if I dont take it I feel like I can't function but when I do take it I can do everything I want to do. How would I know if I'm starting to get addicted to the medication it is an opioid classification of medication
How do I know if I'm getting addicted to the medication I'm taking?
Post Opinion