Previously published books are fine as long as you still own the rights to your story.