What's the best way to serialize "reference" to prefab?

How do you serialize reference to prefab?
Some ways to do this
Having SO with prefabs and access them by some id and saving this id.
Having prefabs in resources folder and save path than load
Using addressables and custom serialization to save addressable to string than load it.

I made reference to my object but i can not get excess to that object data in my input field