Great to hear your problem. Marijuana weed etc are opioid drugs and these are known to cause gastric problems including constipation nausea vomiting gastritis etc. You may need antacid and other supportive medications.
Next Steps
stop marijuana or weed at once.
Health Tips
visit a rehabilitation centre asap.