So once the contracts are signed and if something goes wrong after that will i get my money back and the property wont be mine?
You would be entitled to take legal action for specific performance of the contract. Your solicitor would advise on chances of success. That would of course entail further legal fees.
Otherwise you will get your deposit back, but you will be down costs such as surveys, legal fees and any other outlays tied to that property.