Heartburns

How did you guys handle Heartburns during your pregnancy? This is my first time being pregnant and I’m not used to this..