That is frequently an indication of a failing battery; go to Settings/Battery/Battery Health and see what the text says and also the maximum capacity.
The "Up, Down, Side" instructions require some precision:
- Press and quickly release VOLUME UP
then
- Press and quickly release VOLUME DOWN
then
- Hold the SIDE button until an Apple logo appears (15-30 seconds), ignoring "slide to power off" if it appears
The operative word here is QUICKLY; and try it a couple of times, the timing is a little tricky. If done correctly this will always work unless the phone has a hardware problem.