First and foremost: do not panic, and do not get into a self-defeating mindset of "I can't do this...". If you want to do it, you can; just believe in yourself and your abilities!
I was in a similar (albeit not as low GPA) position a year and a half ago. I wasn't really motivated, didn't really know what I was working towards in the first place, and was ready to give up on pre-med. I had to take a step-back and reboot my thinking. I asked myself a series of questions, in this order: 1) "is this what I want to do?" (volunteering/shadowing can help re-inspire you) 2) "why?" (helping people? money? both? neither?) and 3) "what do I have to do to make it happen?" (pull up grades, study more, etc...?).
I realized my "lack of motivation" was more of an excuse for my general academic laziness - I knew I could do the classes, and do them well, but didn't want to give them the time I needed to actually earn good grades. I would have rather gone out and partied, or watched TV than open the textbook to pre-read for the next day's class - an unsustainable way to go about learning. I changed my mindset, hunkered down, and went from being a ~B student to being a straight A-/A student for my final year. I used the same mindset to study for the MCAT and did decently well.
You ultimately need to rethink your motivation and studying habits. How much time do you really spend studying for your classes? Do you pre-read and post read? Are the study strategies you are using effective, or are they not leading to the results you want? What do other successful studiers in your class do differently? If you feel you are doing as much as you can, and it still isn't working, you should talk to your professors and get their advice on what they would really recommend doing to earn a good grade in their class (each class may be different, and your profs may be able to give you some good supplementary materials, etc...)
If this is what you really want to do, re-focus. Don't let anyone tell you that it can't be done. And focus on one thing at a time. Rather than saying "I need to get straight A's from now until I graduate so I can go to med school and blah blah blah..." use the mentality of "I need to give this particular class everything I've got". Lock-down on school; it should be your primary focus for the next year. And see how things shape up; if you can have a very strong upward trend in your GPA and rock the MCAT, you would definitely be in decent shape for many excellent SMP programs out there, and if you perform well in those would have a great opportunity to prove your dedication and capability to medicine. Alternately, you could re-take the courses you did worst in, and pursue a route through D.O. schools, another excellent choice to enter medicine.
Either way, remember, STAY POSITIVE AND BELIEVE IN YOURSELF!!