Hi Daniel, welcome to TP.
The problem you have is that a camera needs a certain amount of light entering the lens to enable the auto-focus mechanism to do its job. In very dull conditions such as at night, there is simply not sufficient light for the camera to establish focus. The red light you see is the camera telling you that focus has not been achieved.
So, what to do? If your subject is near enough to the camera, using flash may work. I am not familiar with your camera so I have no idea if it has built-in flash. If it has, you may have to enable it in the menu system.
If you are taking a distant subject, you may be able to switch to manual focus. You will need to check the camera manual and you may well need to support the camera during the exposure on a wall, say or a tripod if you have one.
Hope this helps.