Are you keeping him WITH the goldfish?
Goldfish produce high amounts of ammonia that will stress alot of regular tropical fish out, including your betta, which will cause him to damage himself.
Put him into a seperate bowl and pour some stress coat in.
If he isn't with the goldfish, make...