I have ulcers in stomach but I want to exercise. Any reason not to work out?

No. Ulcer disease should not prevent you from exercising. Hopefully, you are on medication for your ulcers. If you are actively having abdominal pain, get checked out before starting, otherwise go for it.