On this page, you can learn how to use ‘am’ and ‘pm’ (time) in Japanese.
They come after time in English but they come in front of time in Japanese.
午前 can be ‘morning’ and 午後 can be ‘afternoon’. See examples below.
in the morning
in the afternoon