The Supreme Court on Friday urged the Union government and the State of Punjab to ensure that necessary medical aid is provided to farmer Jagjit Singh Dallewal, who is on a fast unto death as part of the protests against the Central government for minimum support price for crops.