It really depends on how you want to approach roleplaying in general- short spurts between action, long-form narratives, acting with less steps, etc. As someone who has come to find RP not the healthiest hobby long-term, start out by understanding your comfort level and what you want to get out of the RP.
It also definitely depends on what server you're playing. You may simply find you just don't "click" with the premise or setting, and this in turn may restrict your immersion. I know that personally, I had no problem actually roleplaying after a while or making a fleshed out, believable HL2 character, but I found that I didn't really have the energy for spending a lot of time in HL2's dystopian setting, especially between university and working. This is why TRP was my baby for many years, but as I got older I found that what I wanted out of RP changed significantly.
Over the course of my time, I started out just sort of winging it, which then led to me spending too much time in-game because I didn't really have a lot else to do- as I eventually became faction leader on TRP, this came with a lot of additional baggage and actually took me away from RP, because in the end it becomes your job to be community leader, admin, etc managing other people's fun. After a ton of life experience away from the computer, I did eventually come back to TNB and definitely put up several barriers to getting too attached to the RP - time limits, guaranteed unavailability to focus on other hobbies, investing more wholesale in worldbuilding which didn't require me to be on server as much, and choosing to interact with (but not directly participate in) the main faction events. My character creation became much more deliberate and themed, and I focused much more on just having fun with writing and simply telling a story to other players.
So in your case, find how much time you want to spend on the RP, understand what you like and do not like in the setting/premise, evaluate if there's a specific thing you'd really like to dive into, leave some room if you don't like it, and then try to go with it. All of this can make you much more confident, because it keeps the ball in your court regarding creativity and when you are and aren't feeling it.
All of the advice from the posts above applies, but keep this in mind before diving headfirst into RP. It should never cause you anxiety, or ever remotely feel like a job or a chore.