Pressing "Space" while wearing the correct item near smoke. Your character needs to have the correct tool equipped to start repairing.