How Do I Assign Scriptableobject To Each Prefab S Script Using Code

How Do I Assign Scriptableobject To Each Prefab S Script Using Code