gen light on on 1997 Dodge Ram 1500

on the way home last night my gen light came on. it was on most of the way home but went out when i turned on my street. please help

Asked by for the 1997 Dodge Ram 1500
it also could have gotten het and that would cause it to slipp also
1 more answer
sounds as if your belt is slipping,i would check that first.