Curate, connect, and discover
It's kinda been a brute force process for me. I still don't get every rhythm or pitch right, and I've been playing the piano for at least 14 years (unless you count what I did at 2 years old with no lessons as "playing piano", in which case 16). I also play guitar, but the process is similar.
As you do more playing, you'll find your brain automatically places notes correctly (I no longer have to think almost at all about notes within one ledger line of the main stave for either clef) which will help with playing rhythm, which should also be getting better with playing. You can also train rhythm specifically with exercises. This can be as simple as ignoring the pitch of a note and just playing/clapping rhythms, or you can use exercises you find online.
I did grades, and the progression of these can be very helpful. Not only does the gradual increase in the difficulty of pieces give a nice guided progression, but the exam board I use now, Trinity, has exercises at the back of each book, of which you must learn some (i think one from each category), and one category is rhythm. For my grade six, for example, one of them was all about 3:2 (three against two) polyrhythms, look them up to figure them out, or you can ask and I'll try to explain.
Overall, keep trying to have fun. Play things you enjoy, play things you think are weird or might be a good challenge, improvise, whatever. Just play stuff, it'll get easier.
HOW THE FUCK DO YOU READ MUSIC NOTES??? HOW????