There are quite a lot of articles on how authors can use editors, and how editors can help authors. They usually examine the proper use of language, the importance of continuity in a story, and some pitfalls that new writers of erotica (or any fiction, for that matter) need to avoid.
I'm lucky in that I've used an editor for years who is not only a personal friend, but a writer of erotica in her own right. (In fact, she's a better writer than I am, even though she needs to be reassured of that from time to time.) Not only does she do the things that an editor is supposed to do, like check my spelling and ask why a character I started out calling Maria is later referred to as Marie, but she adds another dimension to my writing based on her own perspective as a woman. She doesn't do it much, but when she does suggest a re-write, it's almost always because she caught something that I hadn't thought of.
I should point out that the kind of stuff I write isn't the usual porn I grew up with, where all a character had to do was show his ten-inch dick to a girl to entice her to bed and give her a thundering orgasm with a few seconds of his cocksmanship. I wanted to write plausible stories about real people having realistic sex, because that's what turns me on. And that's where Athalia has been a real help.