Before trying to parallelize, please first try to optimize your code to figure out where the bottlenecks are. There are many different parallelization strategies (multiprocessing, multithreading, GPUs, clusters), and using any of them requires understanding and eliminating those bottlenecks. What’s the runtime of your code at the moment? What functions dominate the runtime? Have you read through and applied any relevant performance tips?
Separately, see this PSA on how to construct a minimal reproducible example for others to run: Please read: make it easier to help you