From what I remember, W=F*D. Therefore, I would imagine the easiest way to calculate the work done by friction would be to multiply the force of friction (coefficient of kinetic friction * normal force) by the distance in which the object travels. Also, if you are given the work done on an object, the distance traveled and the force applied, use the above equation to see if the amount of work given matches the amount of work calculated. If not, the difference between the calculated work and work given is the work lost, or done by friction.
I hope my choppy explanation didn?t confuse you even more.
Good luck.