Bike fit is basic. Make sure that your bike fits. Hit up a good LBS when they aren't busy and buy whatever parts they suggest to help you fit better. Bicycle riding should be painless. Of course, you should be generally stiff and sore after a hard than usual work out, but never suffering localized pain.