Playing with a lot of spectators

Hello everyone I (28m)just want to get your advice on how to play great when there are a lot of spectators watching. For context I started learning tennis 4 years ago. When im playing in normal or friendly games, I’m fairly good and winning matches but when I play in local tournaments with a lot of spectators, I just freeze and will start rushing shots and ignoring the fundamentals. Im not used to crowds and spectators even when I was a kid. I get nervous fast. Just want to get your advice on how to relax and ignore the crowd. Thanks!