The earnest money is supposed to go into escrow and not be touched until after closing, or returned to the buyer. Do you have an attorney? If not, get one; if so, use him/her.