Hello Brian, and welcome to the hobby! So the best advice I can give for making learning as painless as possible is the following;
1 - if you have them, wear knee & shin guards (optional)
2 - prioritize learning a proper dismount first. When the wheel starts to tip over and lose control, make sure you remove the foot on the side that is falling. While planting that foot on the ground, push the opposite pedal (one that's raising) with your other foot and let your leg support it. This will avoid alot of bruising.
3 - I know this sounds crazy, but don't be afraid to let the wheel fall. No matter how good you are, the wheel will eventually fall and get scratched so don't worry. Letting it fall will help avoid injuries from trying to chase down the wheel or from trying to correct it when you cant. Over time you will realise what you'll be able to correct and what you can't.
Hope this helps you out!