Depression or anxiety??

Just been going through a lot lately and it's hard to focus I'm not doing well at all in school my GPA is low and it's the lowest it's ever been. Lies, jealousy, all that stuff has taken a toll on me and I just can't seem to forget about it no matter how hard I try. Does anybody know how to stay strong during difficult times??