There are three reasons I can think of why things might not be gelling:
First, are your tracks adequately synchronised? If your timing is out when you record, or your system is introducing timing discrepancies, then notes that are supposed to sound together, won't.
The "cheat" for this is quantisation, or to program the notes in rather than record yourself playing. If you want to keep the humanity of your playing, then concentrate on timing as you play. Check for latency in your recording setup -- if there are delays as you record, the timings will be ragged.
Secondly, are you working with a set of sounds that complement each other? There are classic combinations that work together, for example a basic drum kit (kick, snare, hats, toms), a bass guitar, a rhythm guitar and a voice.
Start with that classic combination, or substitute instruments in the same rules -- for example a synth bass playing bass-guitar-like patterns, a piano sound playing chords in the rhythm guitar pitch range. A flute or a lead synth sound, instead of the voice.
Thirdly, are the instruments doing what they're good at? In that classic combination, typically the bass is supplying a tonal centre and a base rhythm, without playing too elaborate or complex a part. The rhythm guitar is embellishing the rhythm and rounding out chords. The voice is supplying the melody (and words). Copy those roles.
It might be worth, just at first, trying to copy an existing recording that you like, part-for-part. Choose something simple to start with, and don't expect as a beginner with limited resources, to create something as polished as something toiled over in a professional studio.
Listen to other people's music and pay attention to what each instrument is doing -- "That brass section isn't playing all the time - it just plays a short phrase every now and again".
Once you're making nice sounding tracks using well-worn combinations of instruments and roles, of course you can experiment and innovate.