Can you participate in trials on new medicines that are been tested for safety? And if they use aborted Feotus at the research phase of developing a medication can you then take that medication?

If it is relatively safe to participate then it is fine. If the medicine is to be consumed as in eating not injected then it has to be from halal sources. Aborted fetus is not halal