It depends the best thing to do is to consult a local real estate agent.
In some cases making some minor repairs will help increase the value of your home or just make it more appealing and thus make it easier to sell however in other cases the return on investment simply won't be there especially when hiring professionals so you may just be better giving the buyer a small discount or credit IF needed and saving yourself the trouble. Again this is where a local real estate agent can come in helpful as they can provide comparables and show the statistics of similar homes and what they are selling for based on condition.
Paint is almost always a good idea but rather than changing carpet maybe just have it cleaned, there are numerous other ways you can spruce up the place a realtor can usually provide a checklist or even a quick google search can give you some ideas even if you are not DIY type.
NOTE: In some cases certain repairs may be required by the lender depending on the loan program so you might even want to speak to a local lender that is either recommended by your realtor, your past loan office or if you would like a recommendation I know several good loan officers in your area.
Currently I only offer loans in Florida.