Check the wikis first - they both are extremely comprehensive and should cover most questions!
Even though I prefer Fabric I recommend making a mod first and getting started with Forge. Trust me when I say converting a mod after you’ve made one makes so much more sense
Context: https://youtu.be/f9aM_dT5VMI