Chosen Solution

It keeps turning off it will be at 100% and I will take it off the charger and I will use it then at like 90% it will turn off repeatedly

It may be easily due to a worn out battery..check its condition on Settings/battery. For a more detailed picture you may check with a Mac/PC after downloading Coconut battery (Mac) or 3Utools (PC) and plugging in your iPhone. If battery condition is normal you will need to supply a bit more info on the iPhone history.