You said the ride home was 2-1/2 miles, was your ride to your destination the same? That's not far enough to properly warm up. And after being off the bike for two weeks, a warm up would be essential to both feel and perform well. Good advice above, you should experiment a bit with diet, warm ups, water intake and talking to your doc about your meds. With experience you should be able to figure out what your body needs.