While you can't prevent competitors from seeing your ads, you can take measures to minimise invalid clicks. Google Ads provides options to set up IP exclusions, preventing specific IP addresses (including those of your competitors) from triggering your ads.