If you want any chance of avoiding serving your 10 days in jail, you should immediately contact an attorney in your area who can handle your case. Being held in contempt of court is a serious matter. You may be able to negotiate weekend jail if that's possible in your county.
Please note that this answer does not constitute legal advice. It is merely intended to provide general information to aid the poster in finding answers to the problem posed. This answer does not create an attorney-client relationship. In most cases, it is best to contact an attorney directly to find answers to your problems.