Is professional carpet cleaning worth it?

is it worth getting my carpet professionally cleaned?