I always use Bitcoin own node. I just want to know the risks behind using a public node ?
In general, it is a privacy risk. If you are using Electrum, you need to connect to Electrum servers, and if you do not manage any of these servers, you will need to connect to a server managed by a third party who will be able to know all the addresses in your wallet.
(The risks can be reduced by requesting a trusted person manage the private Electrum server, and you will only need to trust them.)
Open source wallets are considered SPV clients. They may differ slightly from Electrum, but you can assume that they collect all your addresses (even the ones you don't use) and your IP address (you can hide it via Tor).
Closed source wallets may collect more data, including your personal data, or even if you obtain the appropriate permissions to collect more.