Ripe avocado should yield to ‘firm, gentle pressure’ (Source). If it’s completely hard, it still needs a couple of days to ripen. If it’s mushy, it’s probably overripe. More tips on picking ripe avocados here.