display ACF repater field in archive page

I created ACF repeater field for custom taxonomy terms. Repeater consist of two field “Question” and “Answer” . By this way I want to create FAQ section for each taxonomy term.
Thought I can show other custom fields easily in archive field, But I could not succeded with repeater field . Please help me.

How to upload an image to a custom post type

I am developing a plugin that has a custom post type. This post has a lot of meta data but I also need to attach some images to this post. What is the best way to upload an image that is related to my custom post type? I have seen some functions like media_handle_upload() and media_sideload_image() but I don’t know if they are the best solution and if so how to implement them in my code.
For the text fields I use this format