The good news is that you don't need any formal training to get into creating music - you don't need to read or write music unless you are interested in mastering an instrument or becoming a professional musician or composer... you can get lessons and/or online training courses on just about anything these days, but you can always start off by doing your own thing and seeing how you get on.
Like anything else, you will probably find yourself having to buy some basic equipment (like a keyboard or a microphone) and then finding an appropriate software package to use it with. I have this:
https://www.native-instruments.com/en/products/komplete/bundles/komplete-11/ and this:
https://www.native-instruments.com/en/products/maschine/production-systems/maschine/ - all told it was a lot of money, and I can barely use it through a lack of patience learning how to use the bloody things, but I bought a cheap (£100) keyboard and in theory I could create just about anything I wanted - in practice, however, it's mainly to create drum loops and add backing tracks to guitar and vocal songs. All up, those two things cost about £900, so they are pricey - but Komplete (about £500) is utterly brilliant and is more than enough for someone like me; Maschine, on the other hand, was a bit of a waste of money for me, but I still enjoy using it and will maybe even learn how to use it eventually...
You can start off with a much cheaper thing like this:
https://www.image-line.com/flstudio/ You may even still be able to get a free demo of a similar package - buy a cheap keyboard that plugs into your PC/laptop via USB and you are good to go. Get a decent pair of headphones (really important!) and a cheap/free DAW software package (digital audio workstation) like Cubase LE (
https://www.steinberg.net/en/landing_pages/cubase_le_8/download.html) and you can start recording stuff. I didn't realise I needed a DAW at first, thinking that something like Komplete (which is a package of various digital instrument simulators) would have a package that let you actually play and record stuff, but it doesn't. Cubase LE, however, allows you to use your music software (like Komplete) and create a multi-layered track using as many instruments as you like. Cubase LE is more than enough for a beginner like me, but the fact it is free is pretty amazing. There are loads of DAW packages out there, but again it depends on how much money you are planning to spend and how much time and effort you are willing to put into learning how to use it...