First, :welcome:.
There are several posts about this issue. Please try the search button towards the top of the screeen before starting a new thread.
Are you simply looking to buff or are the headlights cloudy? If they aren't cloudy, in need of refinishing, then DO Not sand them. If they are...