Chosen Solution
I got the phone and it was great till it wasn’t. When I went to charge it the battery logo woukd start blanking so I powered it off and got a yellow triangle with a thermometer and it won’t charge, what should I do I just got it.
@sly64 looks like a common issue with Samsung phones. For now I’d take the battery out and clean the USB port. If that does not help, consider first getting a new battery and second, replacing the daughterboard. There is also a possibility that this is a torn NFC flex, which can cause this to happen as well.
You say you’ve just got it. New? If so go the warranty route first. As soon as you open the phone your warranty is gone.