Battery shorted out due to faulty battery, or iPhone problem that shorted battery. Carefully put iPhone into plactic bag so it does not harm anyone. If you decide to take to Apple for replacement iPhone 3GS it will cost $149.
Thank you for advice (sorry for late response new year trying to accept going back to reality)
After my message phone continued to warp out of tits case even when off. I still have my iphone 4S so will not get a replacement. Qesution mark if next phone will be iphone.Think will stick to Macs have not let me down so far