How do we know we filed taxes correctly?

Hello, I filed taxes FY2021 but never heard anything back from the IRS. How do we know we filled it correctly? I didn't expect any refund in fact I had to pay around $5000. Thanks.