You have to be much more specific. Where are you setting the FPS? What are the comp settings? Exact render settings? Version of AE? What else?
Where did you put set the 5fps at, composition settings? When rendering, do you render it all in After Effects or do you export it to Media Encoder? Please provide some more information or screenshots if you can.