You need to make sure that your dependencies point in one direction (controller -> service -> repository). Then you won't have cycles.
To do this,
P.S. Services contain business logic, including transaction management logic. Accordingly, if you have 2 repositories and you need to do some action in these repositories in one transaction, then the service is the place that will wrap the work with these repositories in one transaction.