Which iPhone do you have? You could have a defective battery in the phone and should have it checked out. Apple will replace the battery for $79, but if the phone additionally needs other repairs and is not under warranty, you will have to pay for that.