Antibiotics, antacids and acid-blockers can help you deal with ulcers. However, it is advised to seek professional consultation before taking any such medications.