If a friend borrows your car and gets in an accident does your auto insurance cover damages?

Depends. If said friend has insurance then in most cases their insurance will cover the damages due to vicarious liability. If the friend does not have insurance, you are then responsible for any damages caused.