It depends.
If the money was a loan, then yes, you will have to pay it back with interest.
If the money was given as an investment in your company, then the answer is maybe. The investor may want their money back at some point (usually when the company is sold or goes public), but they may also be happy to continue to hold their investment.