Pain in tummy worse after eating had for 6 weeks losing weight?

Time to see a doctor. Evaluating this requires an exam and probably some tests. It sounds like it is not going away by itself. Find out what it may be and start treatment. Don't let things get worse or lead to secondary problems. Best wishes for getting back to health.