Looks like bad fin rot, maybe even some body rot, but it’s hard to tell. Your going to need to keep the 5 gal water parameters really good. Is it cycled? Do you have a test kit on hand? Your also going to want to ensure your tank is filtered, heated, no plastic plants etc. all the normal betta...