Beating the temple means beating its boss, and in the Forest Temple that means dealing with Ganon's ghost. Getting there takes a bit of housekeeping first.
Collect the stolen fire the Poes took — hunt them down and fight to reclaim it. Once you have all the keys and the fire, defeat the last purple Poe. That lights the torches and opens the way to the basement.
From there, push the suspicious wall to reach the arena. Ganon's ghost will leap onto one of the portraits; watch which one he is about to emerge from, but do not stare at it continuously or he will retreat. As he jumps out, hit him with arrows several times. Once his horse is down, dodge his attacks and finish him.
The whole fight is a timing test — patience beats aggression here.