I killed Lydia by accident and now I want to know how to get her back...
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
If you're playing on PC you can use the console to resurrect her:
3 years ago
2 years ago