Burn some in a joint. If it doesn't stay lit, it is too wet and needs to be dried out some more. Try burning some in a bowl too. You can usually tell when bud is too wet as it doesn't burn and you won't get a decent hit.

To dry it, just leave it in an open area, free of light and heat, and it should be dry in no more than 6-8hrs.