Hello Ajay1528,
Welcome to Apple Support Communities!
We understand that you're seeing a green line on the your iPhone screen. We'd like to help.
We see that you're coming to us from Restart your iPhone.
What happens after you restart your iPhone? Does the line temporarily go away?
Is the display sensitive to touch or not responsive in that area of the screen? If so, try the suggestions in If the screen isn’t working on your iPhone or iPad.
Try to force restart your device by: Pressing and quickly releasing the volume up button, then Press and quickly release the volume down button, Press and hold the side button until you see the Apple logo.
Keep us updated on the results.