A deposit is paid to ensure that you stick to the terms of the rental agreement. Provided you do that you should receive your deposit back.