We can’t give salient or accurate advice if you don’t know whether it’s indeed jail broken first and foremost.
What device do you have?
Which version of iOS are you on?
What issues are you having that make you suspect malware (highly unlikely if not jail broken, FYI).