Business & farm

Just to clarify.  In 2020 I invested (loaned money) to a small business that is not mine.  This business will be closing so I will not be able to recover my investment.  How exactly do I write off the bad debt?