I'm having trouble with maintaining energy, is there a vitamin that helps with that or types of food?

Find cause. Especially at your age, loss of energy may be due to anything from anemia to a subtle chronic illness to difficult life circumstances that perhaps you can address. Loss of energy is an extremely common presentation for illness, and your personal physician needs to see you.