Lear to play chords and scale modes based off of C major. Raise and lower notes and see what happens. Read any book or website on music theory. It's not rocket science. I meanmajor/minor scales have 7 notes. And there are only 12 notes in different octaves to choose from and combine in pleasing ways. Don't limit yourself by theory but study it to grow.
I recommend studying the basics in any book and also watch Barry Harris on YouTube when you understand the basics to get some cool a-ha moments. https://youtu.be/F8JJncSUdUU