You don’t need to use anything. You just need to enjoy what you are doing. This is often related to dopamine. Being in flow state for hours on end while programming is bliss and fun for me.
If you don’t enjoy programming keep trying, have the language or api docs open and do not use generative AI. Generative AI just gets you outcomes. An artist paints because they like painting, not because they like a pile of painted pictures.