Can I run a part of a code once then continue onto the rest

I won't be asking for a reset code

Then putting the code or calls to functions to do what you want in setup() is the perfect solution