1. If you have parrot rescues near you check them, there is usually lots looking for forever homes. Or, like someone else said, get from a responsible breeder, not a pet store.
2. Get an appropriately sized cage for the species. All too often parrots (especially the smaller ones) get crammed into tiny cages they can barely spread their wings in. I would get a flight cage, even if you get a tiny budgie. Make sure you get the right bar spacing for the species.
3. Research a proper diet. Don't listen to what the pet stores tell you, 99% of the time they don't know what they're talking about. Parrots should get lots of fresh veggies, good pellets, and
some seed. Not only seed. Make sure you research the right diet for the species you end up getting.
4. A good variety of perches. Most cages come with straight, smooth wood perches, or plastic ones. Parrots need a big variety of natural wood perches in different textures and shapes, or they could get bumblefoot. Just think about all the different branches they'd land on in the wild. Also, different sizes of parrots need different sizes of perches.
5. Lots and lots of toys. You'll need more than you think. If you get pretty ones don't be sad when they destroy it completely, that is the point. Get lots of foraging toys, shredding toys, and as many different kinds as you can, and make sure that if they have wood it's not too hard for a smaller bird (if you get a small bird).
Here's a youtube channel with lots of great info
https://www.youtube.com/channel/UCrozpXn44uk0V9uQWFhxJuA
Just do lots of your own research before you get one

they are loud, uncontrollable little monsters
View attachment 3134340