We can learn rhythms by rote in session. If you're learning a song on your own without a rehearsal track or a répétiteur, you can still teach yourself a rhythm by methodically writing dots to represent pulses.