If you are just starting out with Shiny I'd encourage you to work through the tutorials at Learn Shiny http://shiny.rstudio.com/tutorial/. It'll walk you through how to set-up simple shiny apps and deploy them, as well as how to connect UI elements to your R code.
In terms of helping get your existing code up and running, it's usually helpful to develop a minimal reproducible example (FAQ: What's a reproducible example (`reprex`) and how do I do one?) of your problematic code that people here can use as a starting point.
Also, welcome to community.rstudio.com Appu Kumar tiwari!