Is It Safe To Masturbate With Random Objects?

Is it safe to masturbate with things like hair brush handles and stuff like that? I don't want to catch any weird infection or disease and I can't afford actual sex toys.