Has someone offered you advice recently? If a colleague has spent time coaching you or giving you solutions to a problem, the best way to thank him is to circle back. Let him know how you took his advice, what happened from it, and what you accomplished. if you show him that you followed through and his words made a difference, he will be quite pleased to continue providing wisdom because he's able to see the value he provided.
A simple "thank you" is easy enough, but remember to also show proof that what he did actually helped you