Navigate to Appearance > Widgets from admin panel’s sidebar.
Title : Set title of widget
Number of posts to show : Set number in which how many post you have to show.