What actually you meant by constipation? If child is passing hard stools but daily, not necessarily it's constipation. At this age many of babies do pass stool infrequently even once in 2-4 days, but if baby is otherwise playful, active, accepting feeds well, passing urine well, not having vomiting, stomach is soft on pressing slowly, no need to worry.
Next Steps
1 stop giving unnecessary medicine
2 give fresh fruit juice prepared at home without straining
3 give vegetable soup without straining
4 give good quantity of water
Health Tips
any of above symptoms arises like vomiting, decrease feed acceptance, hard feeling of stomach on gentle pressure, any unusual behaviour of child meet pediatrician.