Stomach ulcer

How does it feel to have a stomach ulcer? Is it painful to have sex?