Welcome to the forum. Congratulations on a good choice in home defense handgun. I have one in full size, and it's my go to home defense pistol.
You're smart to take at least the basic handgun safety and handling classes, and to develop some skill in shooting.
You don't shoot a good course of golf without practice, and don't swim laps in a pool without training. Gun handling - and particularly safe gun handling is no different. There are skills, and muscle memory to develop.