Prior to a few years ago, hearing aids in the U.S. were pretty much only available by prescription (more or less), and you needed to see a hearing specialist / audiologist in order to buy. A 2022 law now allows hearing aid manufactures to sell over-the-counter, so it is possible to just buy hearing aids directly.
However, hearing loss is not a simple thing, and AIUI, hearing aids aren’t really a “one size fits all” thing. Especially as you haven’t previously used them, it would likely be of benefit to you to actually see a specialist, have the particular nature of your hearing loss diagnosed, and get recommendations as to which sorts of hearing aids will best meet your particular needs. If you just buy a pair OTC, they might well be well-suited for what you need…but they might not be, either.