how to fetch records from a custom object and display it in a calender view.

Huh … .little low on details.

Normally, create a model, use this model in a calendar component, use the appropriate fields for Subject, Start and End.