Yes you need a prescription to get tamiflu medication.
And also yes, its not a vaccination. Its a treatment that is meant to be used when and only when you actually have caught the virus of "swine flu".
So buying it and medicating yourself with it (if you actually could do so) before you even have flu is not going to benefit you in any way.