It’s completely up to you! There is an advantage to do both. What’s great about magazine and contest submissions is that you have the opportunity to publish your work and it gets your name out into the public while you work on bigger projects, such as your novel.
This could work in your favour once you’re ready to publish your novel. Agents will be more likely to pick up your book if you have published work under your belt.