Rear signal lights out, bulbs good

How do I find and fix the broken ground wire? Neither the emergency flashers work in the rear, nor the middle brake light works, although the emergency flashers work in the front. The bulbs work in the rear when I turn on the engine and parked. However, when I drive at night, all the lights in the back is dark.
Thank you very much for all the reply.