Masturbation

Sooooo..... I know it’s a probably dumb question but... I have exams for school and I’m stressed and need to study more and I wanna stay up late and have energy. If I masturbate just rubbing my clit and fingering will it release my stress and also give me energy cuz I really need energy right now ??????