WACC for DCF Valuation

Hello,
For those who use DCF for valuations, how do you calculate the WACC?

And does anyone have an excel model for DCF and LBO valuations?

Thanks a lot!