Regularly practicing singing song intervals helps you internalize their sound and better remember them. Solfege is also a very useful framework that helps you remember pitch relationships and enables you to accurately sing intervals.