In America, owners are supposed to be paid what is reasonable for the work they do according to the law. Let’s say you own a car repair shop, and the typical pay is $18 an hour. That’s what you should pay yourself to avoid red flags. Start up businesses can get away with being in the red, but after 2–3 years the government expects owners to be making reasonable pay and profit.
The IRS prefers an owner be a W2, not a 1099. I’m not sure how strict that is. I know the accountants who have done the taxes for my boss, she owns the business, always advises her to get paid through payroll rather as a subcontractor. In the business I owned we were told to pay ourselves reasonable and fair pay for the work we do.
Owners have a lot of vehicles to put money in funds to avoid taxes. IRA’s and/or 401k’s.
If you want to have SS when you retire, you have to pay in. If you use every vehicle to shield your earnings from taxes, then you also will be lowering your SS. Eventually, you will likely regret it, unless you are found a really good job of saving.