what to do with the tab on the voltage regulator
Page 2 of the datasheet tells you.



"Tab is out"



Connect the tab to a large copper area or heat-sink for cooling. The tab is electrically connected to the output within the package, so make sure on your board it is not connected to anything other than the regulator output.

See page 14 for further details.