Practice the way you want to play! Many times I see my students and other students practicing the wrong way. They go out for hours and hit many hundreds of balls. However, they are not simulating the pressure of winning and/or losing the point or playing by keeping the score and playing while people are watching.
The sooner you go out and simulate the actual pressure of the match by keeping score the sooner you get better. There will always be a winner and a loser. That's what makes competition fun and rewarding.
I have lost many matches and felt very satisfied with the way I played and very much enjoyed the experience. You must always try to win, but it's impossible to win every time. But, you must enjoy the match pressure and the experience. So, do not go out there day after day and hit the balls mindlessly. Play points, play games, play sets, play matches, etc. There must always be something to win or something to lose. That's what makes it fun to play tennis or any competitive sport.
Good luck on the Court!