How to Work with EditorUtility

How to work with editor class EditorUtility.CreateEmptyPrefab… its giving me error while dragging the script to gameobject or camera …
“Cant add script behaviour Script1 because it is an editor script. To attach a script it needs to be outside the ‘Editor’ Folder.”
and i have put the script which am using inside the Editor Folder under assets (Assets/Editor/Scripts1.js)
In my case its not working and giving me error…

Thanks in advance
Pradeep Pandey

Emphasis added.