Hi WarBird. You've asked specifically about 6. d5, but based on the game you posted, my advice would be to go back over your moves and focus on the ones marked Blunder. For instance look at 14. Bg5. Were you aware when you made that move that Black can capture either of your knights?
Basically you made a move that lost you a piece. I would work first on consistently getting through games without making clear mistakes such as that one. Then you'll have a better foundation for considering your good question above.
Greetings Chess.com community! I've been trying to improve my game using the study plans and Chess Mentor. However, I'm having a hard time understanding when to trade pieces. I posted a computer analyzed game, against a friend I frequently play, and get confused when it shows the better move as an exchange or sacrifice. Any advice would be greatly appreciated. Thank you!