Feedback from user on platform

What is the right way to get feedback from users about our platfrom? is there any pattern, resources i can refer to inorder to achieve this?

How to frame the questions which i relevant and how to analyse the result?