Rent a carpet cleaner at your local grocery store or hardware store if it is a stain is the problem. This may save you the cost of replacing the entire carpeting and give you a few more years of wear on it.
Measure the thickness of the plywood that creates your sub flooring. Sub flooring can develop soft spots or can sag. Lumber yards or home supply stores sell the plywood that is needed to repair the sub flooring. Make sure you buy the same thickness of wood.
Measure the width and length of your carpeting width with a measuring tape. Take the measurements to a hardware or carpet store and pick carpeting that matches your interior. The easiest type of carpeting to lay is the type with peel-off adhesive on the back.
Take a piece of the linoleum with you to either a flooring store or a home supply store. This way you can match the pattern of it. Linoleum can get gouged or scratched and the adhesive can let loose. You can also measure the entire floor and purchase new linoleum for a change in your decor.
Measure the tiling where it is chipped or cracked. You can replace just a piece or the entire thing. If you are replacing only a piece, take the original piece to the store to match the color.