A. Tandy Reeves, a certified flooring inspector and CEO of Flooring Inspection Training Services in Tulsa, Okla., responds: Unless you have access to the floor joists and subfloor from underneath, the best approach is to pull back the carpet and cushion to see where you're putting the screws or nails. That way, you'll be able to verify that you're securely fastening the subfloor to the floor joists and eliminating the squeaks. After making the repairs, have an installer put the carpet back properly; reinstallation is not very expensive.
Where there is access to the floor system from underneath, you should be able to locate the squeaky area and correct the problem with strategically applied shims or blocking and construction adhesive.
to read the full article.