There are brokers which take fees and commissions and there are some online brokers which doesn’t take fees and commissions.
If you choose to go with brokers which takes fees and commissions you may not be so able to avoid fees and commissions in at least some far. However there is a possibility for you to minimise them.
Most brokers charge a fee for the transferring out investments or cash, or for closing your account.
However if you decide to transfer your money to another broker, that new company may offer to reimburse your transfer fees, or at least to a limit.
However majority of other fees can be somehow sidestepped by simply opting out of services that cost extra or choosing a broker that doesn’t charge them.
Common fees to be on the watch for include inactivity fees, extra charges for research or data, annual fees and trading platform subscriptions.