On Android and Android TV, it is per app: edit the tunnel in the WireGuard app, open All applications, and exclude the apps that should use your normal connection, or include only the ones that need the VPN.
On Windows, macOS, Linux and routers, it is by address. When adding a device, tick Skip local network to keep printers and home devices reachable, or paste your own list of addresses to bypass. On Mac and iPhone, the WireGuard app also has an Exclude private IPs switch.
On Windows, a config with exclusions cannot use the Block untunneled traffic kill switch at the same time.