My van has a whinning noise on 1997 Dodge Ram Van 2500

My Van has a whinning noise the other day while driving it would'nt accllerate past 30 mph. After letting the van sit for 20 minutes. It resume back to driving like normale without the whine. What should be done and what is best way to go about fixing this problem?