35mm prime for my Nikon D5200?

Guys, I've been having this huge dilemma, I've just started photography & I'm on my way to get a new lens, I was wondering if a 35mm prime lens would be a good option? specifically the one with the f/1.8 aperture, I use a nikon D5200, and I wanted to know if its a good idea to get a prime lens first, or should get a different kind of lens. What do you guys think i should do?