Let's talk about smart contracts.
A smart contract is a piece of code deployed on a blockchain. Once predefined conditions are met, the network executes it according to the rules.
One thing many people overlook: smart contracts can't access off-chain data on their own. To use external information such as prices, they need an oracle to provide it.
Before confirming a transaction, check the interaction target and the actions shown in your wallet. If you don't understand them, don't sign.
Deploying a contract on Ethereum requires paying $ETH in Gas. Currently, 1797.66.