Did the doctor just say "Here, have these drugs" or did he/she prescribe the "potentially addictive" medication for a medical issue that should have been treated with that medication? Just not taking medication that your doctor thinks is necessary is not a good choice; you rarely know more than your doctor about the risk/reward profile of the medication.
That's not true at all. Drug companies bribe prominent doctors with multi-million dollar payments to convince other doctors that drugs are safer and more widely applicable than they actually are. If you refuse to take an opioid painkiller for fear of developing addiction, you are empirically demonstrating that you know more care more than your doctor about the risk/reward profile of the medication.
What if you are actually in pain? In that case, it might be fully rational to take the potentially addictive opioid painkiller, despite the possibility of developing an addiction.