please help

so for the whole day ive been burping & frequently needing to fart and both smell like rotten eggs or like sulfer, i dont know why. could any of you help me/give me tips on how to quickly make this stop & tell me what this might be (from your own knowledge). Thanks❤️