This article explains how to stop your other devices from ringing when you get a call on your iPhone. To do this, you'll need to turn off the Continuity feature, which allows your devices to recognize and communicate with each other. Instructions apply to devices running iOS 14 through iOS 8 and Macs running macOS Catalina through OS X Yosemite.
How to Stop Your iPhone from Ringing Other iPhones, iPads, and MacBooks at the Same Time
You can turn off the Continuity feature that makes your incoming iPhone calls ring somewhere else. The best way is to change the settings on your iPhone:
Open the Settings app on your iPhone and tap Phone.
Tap Calls on other devices.