What do I do with my iPhone 5?

The only time my phone will charge is when my phone is off. When its on, it will say this charger will not support this iphone or something like that. I have the iPhone 5.

Are you using the official Lightning connector that came with the iPhone? Try that one if you aren't already using it. If that problem is still there and you are using that charger, try testing it with a different Lightning connector. If it works, it's the charger. If not, it's your iPhone, which means it's defective and should be taken to the Apple Store for diagnosis.