It is possible to do that. As long as you have obtained an official transcript from your previous institution, you can begin the process. But the credits awarded maybe few to none depending on the similarities between your past course content and the current one.
First, you need to apply and get accepted in a study program. Then, there is an extensive process called ”transfer credit evaluation” where the appropriate faculty examine the syllabus of your past course and determine whether or not to award credits. Research programs that are transfer friendly and have syllabi similar to your previous coursework. You can do this by visiting the contents of the program’s syllabus on their website.
Good luck.