Look, unless your doctor has specifically told you to practice pelvic rest due to bleeding or low placenta, sex in the second trimester is perfectly safe. The amniotic sac protects the baby completely. Just choose comfortable positions and stop if you feel any pain or cramping.
I remember having the exact same doubt during my fifth month! My husband and I were so terrified of hurting the baby, but my gynac laughed and said the baby is well protected. As long as you don't have complications, it's totally fine, just avoid putting pressure on your belly.
Generally, yes, the second trimester is actually the safest time since energy levels are back. But you must ask your gynac first to rule out things like low-lying placenta. If your doctor gives the green light, there's absolutely no reason to worry.
In the fifth month, the baby is quite safe inside, but it's always good to stay positive and keep your mind calm. Just make sure you are comfortable and don't take any undue stress. Take care of yourself and do what feels peaceful for your body.
In my fifth month, I was dealing with my gestational diabetes diagnosis, so I had to be very careful with my diet and overall health. But physical intimacy was actually fine and helped keep my stress levels down. Just double check with your doctor during your scan check-up to ensure there are no restrictions.