If you have no experience at all, take an introductory software course at a local community college. An online course or how-to book would be a less ideal starting point. You will want more access to an instructor to get you past zero. Understand that you will also need some understanding of algebra and formal logic before you get very far, so if you are rusty or never had much math background, you might take a course in that too.
Getting your feet wet will help you understand what "software" means and if you have an aptitude for it. Only then, should you commit to at least 1-2 years of hard work in your spare time to get to a minimum set of skills that are employable. With patience, perseverance, and a bit of luck, you can get there even at 37.