I would say as a first step, decide what type of chickens you want, as there a few pros and cons just in that.
Hybrid birds bred for maximum egg production are good layers for a couple of years, then maybe have a couple or three more years to live without much in the way of eggs. Are you going to keep them when they get unproductive or cull them and buy new birds. The latter path means you need to stay a bit distant and not get too attached, but you will have a constant supply of eggs from hens that you feed and make sure are treated well.
Pure breeds space their laying out over several years and more erratic about when they do lay at all. They are pets, with eggs as a bonus. Having said that, I have had hens live to 10 years old and still lay the odd egg even at 5 or 6 years old. An elderly, crotchety old hen is a brilliant creature to have around, if you can stand the constant tellings off
Whichever you choose, if you keep them in good housing, keep them clean, feed them well and have a regular routine for health matters like worms, they are very hardy and don't get ill that often. Prevention is 9/10ths of it