Keeping IPhone Steady

Is there a way to shoot and keep the phone steady? I have a 11 pro max,SPC or Native Camera and I notice in my videos that when I’m walking behind subject it’s kind of shaky.Anyone can throw in some tips I’d appreciate it