That is a hard question.
I personally believe that everyone has their own process. Perhaps freezing is yours, but the important part is not to get frustrated. You can do pseudocode exercises, listen to different kinds of music while you code, so that your mind gets a different rythm.
The tips I give you are:
Define the objective to achieve
Write the steps to get to that objective (In a piece of paper works for me)
Until here, no code has been written.
Define what gets in your way to get to that objective (those should become your validations)
Now start coding straight to the objective. Completely ignore the validations or the "make pretty" parts, all of that can be last.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That is a hard question.
I personally believe that everyone has their own process. Perhaps freezing is yours, but the important part is not to get frustrated. You can do pseudocode exercises, listen to different kinds of music while you code, so that your mind gets a different rythm.
The tips I give you are: