Grants are better than loans. The primary reason is that you don’t repay grants, but you repay loans.
Nevertheless, a loan can still be a good option if you can’t get a grant. Ensure you trust your business plan to generate income to repay the loan on time.