I got told to take ibuprofen and after few days suddenly started loosing weight and no appetite for 2 weeks now.?

Certainly stop Med. Probable coincidence, but stop the medication and see your doctor. Ask that your kidney function gets checked. I think "sudden" would not be related to stomach or ulcer, unless you already had one.