There is no specific number of hard inquiries you should avoid. Typically, a hard inquiry only lowers your credit score by a few points, and it should bounce back after a while. That said, multiple hard inquiries within a short period can make lenders reluctant to approve your loan application.