H2 receptor antagonists can be administered orally or intravenously, depending on the condition and the specific needs of the neonate. The dosage and frequency are carefully determined by healthcare providers to ensure efficacy while minimizing the risks. In some cases, the medication may be given in a liquid suspension form to facilitate easier administration.