Prescription, or order generics from overseas (Google for Modalert, Airsealed is reputable and fast).
As others have mentioned your mileage may vary. I used it for about 6 months during crunch development periods or when I felt I needed a bit more focus and it definitely helped me get through those times. I stopped using it because I felt out of touch with my team members when I was on it and I had started to experience a deeply unpleasant metallic taste in my mouth just after taking it.