Hi thanks for your question.
Taking a short course of ibuprofen
for one to two days will not interfer with treatment of peptic ulcer
,however prolonged therapy is not recommended.If prolonged painkiller therapy is required injectable form or diclofenac
is available for transcutenous use is perferable.
Hope this answers your question.