CS50 is the free course I recommend when you want to start programming with the right fundamentals. It’s very well structured, covers core CS concepts, and pushes you with practical tasks plus a final project so you actually learn to think like a programmer.