If you guarantee the contract, the borrower will ask you for repayment later, because you are the guarantor.
So you need to know what your contract is first. Take a good look at the contract yourself.