This is a strange question, so I just want to make sure you have your realtor or attorney involved and you are not doing this on your own directly with a seller.
Also Inspections are paid for upfront.
If you have a lender, you will have to pay them for the appriasal, 350-650 depending on the size of the property.
It is important to have a savvy Buyer's Agent and a good Lender working hand in hand for you on your home purchase.
Check out our websites, and if you are not already working with an agent, contact one of us!
Each state has different policies ... that's how we do it down here. I trust this helps.