How to find out who is tracking me on my iphone?

How do I find out who is tracking me on my iphone?

An iPhone has to be jailbroken to run spyware. If you are not sure, back up your data and contacts and do a factory reset. If in fact it the phone does have spyware the factory reset will unjailbreak the phone and remove any non-apple apps such as spy apps.
You could also go in to the system files and manually remove the the spy ware but most people wouldn't recognize them. If you aren't familiar you run the risk of removing files that the phone needs to function properly