Open your Pip-Boy and select an item. If you have duplicates of that item, or similar items on you, a repair option will appear in your Pip-Boy. Press the repair button and click on the items that you want to use to repair the item that you chose. Your item is now repaired. Be careful when choosing items since some special items may be used to repair ordinary ones.