Doing something to the tun means doing it without thinking too much about the consequences and randomly, without a preset order. Expressions that mean something similar could be to do something crazy or ton-free and are not.
* Only one "like" per meaning and day, the more "likes" the meaning will appear higher in the list