Making a custom field mandatory

I created custom fields under the company record but I need to ensure those fields are always filled when a record is created. How do I make that field mandatory?