Can i?

Is it safe to eat baked beans on toast? The baked beans are in a can and I heat them in the microwave