It will depend on how much damage is done and what exactly needs to be repaired. If it's really major it can cost upwards of $10,000.00 but if it's not real major you can expect to pay anywhere from $500.00 to $4,000.00
A foundation repair company should be able to come out to your house and do an inspection and give you a free estimate on the cost to repair it.
But be aware that more issues could be found and they might have to do more work which can add to the costs.