First step is to pick a framework. Are you going to use Spring MVC,
JSF,
Struts 2, plain
servlets? Once you've picked one, you design which classes go in each layer. Or follow a tutorial if you literally have no experience in this area.
And a tip: "sir" is a term that only refers to males. In a forum, anyone could answer your queries.