Since the Handstand is a pretty advanced inversion, it’s good to work on the most stable inversion first, Headstand. Try this one known as Bound Headstand to build your strength and balance.
After mastering a Headstand, a Forearm Stand is the next hardest inversion, but not as hard as the Handstand. Since you’re resting on your forearms, there’s more surface area to balance on. Do this move in front of a wall at first to prevent falling, and then move to the middle of the room.