If you are staying in Belgium without legal residence (irregulary), you are only entitled to urgent medical assistance via the CPAS/OCMW.