Possibly the best thing to do is find a local Flying Club. Not just a flying school, but a club. Here, you can meet and talk to pilots, instructors and student pilots, learn about the basic flying course and what's involved, the cost per hours, and the minimum hours required. You can also find out more about the various ground school courses required for the basic PPL, and those for Instrument Ratings etc.
With a bit of luck, you'll probably be able to meet a friendly guy who will take you up a couple of times, to 'get the feel' of things, and there'll be plenty of advice and help. I used to hang around a do odd jobs, such as clean aircraft, help with moving things around and son on, in exchange for the odd half hour or hour of flying. it didn't count towards a licence, but it provided experience and confidence.
In the UK, the 'minimum' hours never happen! Due to weather, by the time a PPL has been gained, the minimum hours have probably doubled, making it more expensive than anticipated. many people used to go to Portugal or the USA, for a concentrated three or four week course, where the basic US PPL was 'guaranteed', which cost about half the price in the UK, and had a holiday thrown in!
Of course, a conversion course, and the UK 'Nav and Met' had to be done on return, but at least the basics had been covered.
As for buying an aircraft, this can be considered once you have the licence, and some hours in, and many people invest in a share in an aircraft. Again, time spent at the field will give an idea of what type suits various requirements, and indicate costs of purchase, hangarage, and running costs.