Is jail breaking my iPhone 5 safe?

Will I be able to restore it if it goes wrong or will its just dodge up completely?

I wouldn't encourage that because this will invalidate your warranty. However, I see some folks do that for whatever reasons, I don't know. If you can use your phone without jailbreaking it, I suggest you keep it that way.