is necessary to use getStaticprops or SSR in Next.js?

I need to handle auth and Dashboard/page in my Next.js app.
API made with DRF, and I need to know is necessary to use getStaticProps or SSR in pages?
I prefer to use simple useContext and useState with Axios, but I’m lost and don’t know if I can do things like this.