Greetings and welcome to the board!
Tooter and mkinga covered the black spots--healing from
ammonia burns. With that, the bad looking fins are a
result in the water conditions being yucky. If you don't
have a test kit, take a water sample to your local fish
store and have them test it. Most places do it for free.
Make sure to write down actual numbers, don't get OK
or good. Like tooter mentioned, ideal water paramater
numbers would be: ammonia 0, nitrItes 0, nitrAtes 5-20
and ph level between 7.0 and 8.5.
Some questions about your setup. How big is your tank?
How many fish do you have? How often are you changing
water? Do you use a dechlorinator and temp match water
with water changes?
If you can post back with the water param numbers, we can
get your little dude back to swimming in the fast lane.