Picture help

Sierra
I have been taking a picture weekly to log my journey. I have recently got a new phone and when I go to upload the picture, it turns the picture sideways. I have tried turning the picture before uploading and that one just stays in the same position. Anyone know why this is doing this or what I can do to get them to be upright?