In linguistic terms, both Fatso and Fatty can be used as names, and written with initial capitals. In addition, fatty can be used as a noun to describe a fat person or dog: "He's such a fatty". These are all usually offensive.
Fatty can also be used as an adjective to describe food - I love fatty bacon. This use of the word is not in itself offensive.