As a Survivor, you can repair a generator by approaching it and pressing the man interact button. Then, you have to succeed at the quicktime event minigame to pass the test. Failing will make noise ...