What airline / airlines are you flying? For example if you fly with Lufthansa both parts transfering will be fairly easy. You will arrive in Frankfurt, look up the gate of your connecting flight and follow the signs to this gate. On your way you will go through passport control since you will enter the Schengen Area in Frankfurt and you will go through security (this is because you arrive from a non-Schengen country). After that you just walk to your gate. Connecting time is 45 minutes and security check points should have so called fast lanes where you can cut the line when you have only short connection.
Fast Lane
If you have less than 30 minutes to get to your connecting flight, you may use the Fast Lane at the security checkpoint. Please make sure to check the monitor screens for information on your flight.
Frankfurt Transfer Guide