how to repeat some actions?

Try using a macro, it’s not simple to make but it’s possible. The another way would be to use this add-on, don’t know if it works for the newer version of blender though.