how does elena get with damon?
After stefan has his humanity switch off Damon was a constant help to Elena. So she had some feelings towards Damon. After they got back Stefan Elena died and became vampire with Damon's blood in her system. As such she was siered to him and fall in love with him.