Hi, and happy new year ! ^^
Well, as it has been said above, the "r" sound still remains the same after a vowel or a consonant...but it's harder to make it.
A tip that I can give you, to learn to pronounce the "r" sound well, is to split the word in two, with two distincted sounds: for example, you can pronounce the word "comprendre" with, firstly, the "compren" part, then the more gutural "dr" part ( and again, you can split "dr" into "d" and "r" ). Then, you can say it faster and faster, until you catch the right pronounciation !
I hope this was utseful, it is my first reply here ^^'
Bonne chance ! ^^