How can I get taxonomy terms and custom field values of a newly created post

How can I get taxonomy terms and custom field values of a newly created post